public CustomerService(ConfectioneryDbContext context)
 {
     _dbContext = context;
 }
Example #2
0
 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;
Example #6
0
 public UnitOfWork(ConfectioneryDbContext context) => this.context = context;
 public OrderRepository(ConfectioneryDbContext context)
 {
     orders       = context.Orders;
     orderItems   = context.OrderItems;
     this.context = context;
 }
Example #8
0
 public ProductsRepository(ConfectioneryDbContext context) => this.context = context;