Exemplo n.º 1
0
 public QuoteController(IOptions <SmtpSettings> smtpSettings, ICompositeViewEngine viewEngine, IPurchaseOrderRepository purchaseOrderRepository, IDiscountModelRepository discountModelRepository)
 {
     _smtpSettings           = smtpSettings;
     _viewEngine             = viewEngine;
     PurchaseOrderRepository = purchaseOrderRepository;
     DiscountModelRepository = discountModelRepository;
 }
Exemplo n.º 2
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 LolDiscountExtensions(IDiscountModelRepository discountModelRepository)
 {
     _DiscountModelRepository = discountModelRepository;
     DiscountModel            = _DiscountModelRepository.GetDiscountModels();
 }
 public TFTBoostingController(ILogger <PricingController> logger, IDiscountModelRepository discountModelRepository)
 {
     this.PricingController = new PricingController(logger, discountModelRepository);
 }
Exemplo n.º 6
0
 public PricingController(ILogger <PricingController> logger, IDiscountModelRepository discountModelRepository)
 {
     LolDiscountExtensions = new LolDiscountExtensions(discountModelRepository);
     _logger = logger;
 }