Пример #1
0
 public InvoiceController(IOptions <SmtpSettings> smtpSettings, ICompositeViewEngine viewEngine, IPurchaseOrderRepository purchaseOrderRepository, ILogger <PricingController> logger, IDiscountModelRepository discountModelRepository, UserManager <ApplicationUser> userManager)
 {
     _smtpSettings           = smtpSettings;
     _viewEngine             = viewEngine;
     PurchaseOrderRepository = purchaseOrderRepository;
     _userManager            = userManager;
     DiscountModelRepository = discountModelRepository;
     this.PricingController  = new PricingController(logger, discountModelRepository);
 }
 public LolBoostingController(ILogger <PricingController> logger, IDiscountModelRepository discountModelRepository, UserManager <ApplicationUser> userManager)
 {
     _userManager           = userManager;
     this.PricingController = new PricingController(logger, discountModelRepository);
 }
 public TFTBoostingController(ILogger <PricingController> logger, IDiscountModelRepository discountModelRepository)
 {
     this.PricingController = new PricingController(logger, discountModelRepository);
 }