예제 #1
0
 public EmailController(IGenericRepository <EmailSubscription> emailSubscriptions,
                        IModalNotification modalNotification,
                        ILogger <EmailController> logger)
 {
     this.emailSubscriptions = emailSubscriptions;
     this.modalNotification  = modalNotification;
     this.logger             = logger;
 }
예제 #2
0
 public WatchlistController(IGenericRepository <Watchlist> watchlists,
                            UserManager <Customer> userManager,
                            IModalNotification modalNotification,
                            IGenericRepository <Tube> tubes,
                            ILogger <WatchlistController> logger)
 {
     this.watchlists        = watchlists;
     this.tubes             = tubes;
     this.userManager       = userManager;
     this.modalNotification = modalNotification;
     this.logger            = logger;
 }
예제 #3
0
 public ShoppingCartController(IGenericRepository <Tube> tubes,
                               IGenericRepository <Invoice> invoices,
                               IGenericRepository <ShippingAddress> shippingAddresses,
                               IGenericRepository <Coupon> coupons,
                               UserManager <Customer> userManager,
                               IModalNotification modalNotification,
                               ILogger <ShoppingCartController> logger)
 {
     this.tubes             = tubes;
     this.invoices          = invoices;
     this.shippingAddresses = shippingAddresses;
     this.coupons           = coupons;
     this.userManager       = userManager;
     this.modalNotification = modalNotification;
     this.logger            = logger;
 }
 public InvoiceController(IGenericRepository <Invoice> invoices,
                          IGenericRepository <Tube> tubes,
                          IGenericRepository <Notification> notifications,
                          IGenericRepository <NotificationUser> notificationUsers,
                          UserManager <Customer> userManager,
                          IModalNotification modalNotification,
                          ILogger <InvoiceController> logger
                          )
 {
     this.invoices          = invoices;
     this.tubes             = tubes;
     this.notifications     = notifications;
     this.notificationUsers = notificationUsers;
     this.userManager       = userManager;
     this.modalNotification = modalNotification;
     this.logger            = logger;
 }