Beispiel #1
0
 public OrdersController(EShopDbContext context, ICartServiceTwo cartService, IEmailSenderTwo emailSender)
 {
     _context         = context;
     this.cartService = cartService;
     this.emailSender = emailSender;
 }
Beispiel #2
0
 public HomeController(EShopDbContext context, ICartServiceTwo cartService)
 {
     this.context     = context;
     this.cartService = cartService;
 }