Example #1
0
 public InvoiceService(shopRUDBContext context,
                       ICustomerService customerService, IDiscountsService discountsService, IProductService productService)
 {
     _context          = context;
     _customerService  = customerService;
     _discountsService = discountsService;
     _productService   = productService;
 }
Example #2
0
 public CustomerService(shopRUDBContext context)
 {
     _context = context;
     //_logger = logger;
 }
Example #3
0
 public DiscountsService(shopRUDBContext context)
 {
     _context = context;
     //_logger = logger;
 }
Example #4
0
 public ProductService(shopRUDBContext context)
 {
     _context = context;
     //_logger = logger;
 }
 public DiscountsController(shopRUDBContext context, DiscountsService discountsService)
 {
     _discountsService = discountsService;
 }