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