public CustomerService(ConfectioneryDbContext context) { _dbContext = context; }
public EmployeeService(ConfectioneryDbContext context) { _dbContext = context; }
public StatisticsRepository(ConfectioneryDbContext context) => this.context = context;
public ConfectioneryService(ConfectioneryDbContext context) { _dbContext = context; }
public CategoryRepository(ConfectioneryDbContext context) => this.context = context;
public UnitOfWork(ConfectioneryDbContext context) => this.context = context;
public OrderRepository(ConfectioneryDbContext context) { orders = context.Orders; orderItems = context.OrderItems; this.context = context; }
public ProductsRepository(ConfectioneryDbContext context) => this.context = context;