예제 #1
0
 public DbRepository(MyAppDBContext context)
 {
     _context = context;
 }
 public SalesController(MyAppDBContext context)
 {
     _salesService = new SalesService(context);
 }
예제 #3
0
 public ReceptsController(MyAppDBContext context)
 {
     _productService = new ProductService(context);
 }
예제 #4
0
 public SalesService(MyAppDBContext context)
 {
     db = context;
 }
예제 #5
0
 public SellerService(MyAppDBContext context)
 {
     db = context;
 }
 public ProductService(MyAppDBContext context)
 {
     db = context;
 }
 public ReceptsController(MyAppDBContext context)
 {
     _sellerService = new SellerService(context);
 }