public CouponCodesModel( UserManager <ApplicationUser> userManager, ICouponCodeService couponCodeService) { this.userManager = userManager; this.couponCodeService = couponCodeService; }
public CouponCodesController( UserManager <ApplicationUser> userManager, ISessionService sessionService, ICouponCodeService couponCodeService) { this.userManager = userManager; this.sessionService = sessionService; this.couponCodeService = couponCodeService; }
public OrderUpdatingService(ICMSApplication cmsApplication, IProductService productService, IProductVariantService productVariantService, ICouponCodeService couponCodeService, IOrderService orderService, IOrderNumberService orderNumberService, IOrderRepository orderRepository) { _cmsApplication = cmsApplication; _productService = productService; _productVariantService = productVariantService; _couponCodeService = couponCodeService; _orderService = orderService; _orderNumberService = orderNumberService; _orderRepository = orderRepository; }
public OrdersController( IMapper mapper, IOrdersService ordersService, IOrderStatusService orderStatusService, ICouponCodeService couponCodeService) { this.mapper = mapper; this.ordersService = ordersService; this.orderStatusService = orderStatusService; this.couponCodeService = couponCodeService; }
public CartController( IProductsService productsService, IAddressesService addressesService, IProductSizeService productSizeService, ICouponCodeService couponCodeService, UserManager <ApplicationUser> userManager, ISessionService sessionService, IMapper mapper) { this.productsService = productsService; this.addressesService = addressesService; this.productSizeService = productSizeService; this.couponCodeService = couponCodeService; this.userManager = userManager; this.sessionService = sessionService; this.mapper = mapper; }
public OrdersController( IEmailSender emailSender, UserManager <ApplicationUser> userManager, IMapper mapper, IAddressesService addressesService, IOrderStatusService orderStatusService, IOrdersService ordersService, ISessionService sessionService, IProductsService productsService, IProductSizeService productSizeService, ICouponCodeService couponCodeService) { this.emailSender = emailSender; this.userManager = userManager; this.mapper = mapper; this.addressesService = addressesService; this.orderStatusService = orderStatusService; this.ordersService = ordersService; this.sessionService = sessionService; this.productsService = productsService; this.productSizeService = productSizeService; this.couponCodeService = couponCodeService; }
public CouponCodesController(ICouponCodeService service) { _service = service ?? throw new ArgumentNullException(nameof(service)); }
public DiscountCalculationService(IOrderService orderService, ICouponCodeService couponCodeService) { _orderService = orderService; _couponCodeService = couponCodeService; }