public OrdersController(IOrderServices order, IOrderDetailServices orderDetail, IUserServices user, ICouponServices coupon)
 {
     _order       = order;
     _orderDetail = orderDetail;
     _user        = user;
     _coupon      = coupon;
 }
Beispiel #2
0
 public CheckOutController(IProductDetailServices product, IOrderServices order, IOrderDetailServices orderDetail, ICouponServices coupon, ICheckOutServices checkOut, IUserServieces user)
 {
     _productDetail = product;
     _order         = order;
     _orderDetail   = orderDetail;
     _coupon        = coupon;
     _checkOut      = checkOut;
     _user          = user;
 }
Beispiel #3
0
 public OrderController(IOrderService orderService,
                        IOrderItemService orderItemService,
                        ICartService cartService,
                        ICartItemService cartItemService,
                        IProductService productService,
                        ICouponServices couponServices)
 {
     _orderService     = orderService;
     _orderItemService = orderItemService;
     _cartService      = cartService;
     _cartItemService  = cartItemService;
     _productService   = productService;
     _couponServices   = couponServices;
 }
Beispiel #4
0
 public CheckOutController(
     IOrderDetailServices orderDetailServices,
     IOrderServices orderServices,
     ICouponServices couponServices,
     IProductServices productServices,
     IUserServices userServices,
     ICheckOutServices checkOutServices)
 {
     _orderDetailServices = orderDetailServices;
     _orderServices       = orderServices;
     _couponServices      = couponServices;
     _productServices     = productServices;
     _userServices        = userServices;
     _checkOutServices    = checkOutServices;
 }
Beispiel #5
0
 public CouponsController(ICouponServices coupon)
 {
     _coupon = coupon;
 }
Beispiel #6
0
 public CouponController(ICouponServices couponService)
 {
     _couponService = couponService;
 }
Beispiel #7
0
 public CartController(IOrderServices order, IOrderDetailServices orderDetail, ICouponServices coupon)
 {
     _order       = order;
     _orderDetail = orderDetail;
     _coupon      = coupon;
 }