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