feat(esppOrderLoader): логика синхронизации
This commit is contained in:
21
PARR.DAL/Services/Implementations/OrderStatusService.cs
Normal file
21
PARR.DAL/Services/Implementations/OrderStatusService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
|
||||
namespace PARR.DAL.Services.Implementations
|
||||
{
|
||||
internal class OrderStatusService : IOrderStatusService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
public OrderStatusService(DataContext dataContext)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
|
||||
public IQueryable<OrderStatus> Get()
|
||||
{
|
||||
return dataContext.OrderStatuses;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user