Пример #1
0
 public CartController(ApplicationDbContext db, IChargeServiceWrapper chargeService, ICustomerServiceWrapper customerService, IEmailSender emailSender)
 {
     _db              = db;
     _chargeService   = chargeService;
     _customerService = customerService;
     _emailSender     = emailSender;
 }
Пример #2
0
 public CustomerController(ICustomerServiceWrapper CustomerServiceWrapper, IConfiguration config)
 {
     customerServiceWrapper = CustomerServiceWrapper;
     _config = config;
 }