コード例 #1
0
 public CouponCodesModel(
     UserManager <ApplicationUser> userManager,
     ICouponCodeService couponCodeService)
 {
     this.userManager       = userManager;
     this.couponCodeService = couponCodeService;
 }
コード例 #2
0
 public CouponCodesController(
     UserManager <ApplicationUser> userManager,
     ISessionService sessionService,
     ICouponCodeService couponCodeService)
 {
     this.userManager       = userManager;
     this.sessionService    = sessionService;
     this.couponCodeService = couponCodeService;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
		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;
		}
コード例 #5
0
 public OrdersController(
     IMapper mapper,
     IOrdersService ordersService,
     IOrderStatusService orderStatusService,
     ICouponCodeService couponCodeService)
 {
     this.mapper             = mapper;
     this.ordersService      = ordersService;
     this.orderStatusService = orderStatusService;
     this.couponCodeService  = couponCodeService;
 }
コード例 #6
0
 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;
 }
コード例 #7
0
 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;
 }
コード例 #8
0
 public CouponCodesController(ICouponCodeService service)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
コード例 #9
0
		public DiscountCalculationService(IOrderService orderService, ICouponCodeService couponCodeService)
		{
			_orderService = orderService;
			_couponCodeService = couponCodeService;
		}
コード例 #10
0
 public DiscountCalculationService(IOrderService orderService, ICouponCodeService couponCodeService)
 {
     _orderService      = orderService;
     _couponCodeService = couponCodeService;
 }