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