public OrdersController(IOrderServices order, IOrderDetailServices orderDetail, IUserServices user, ICouponServices coupon)
 {
     _order       = order;
     _orderDetail = orderDetail;
     _user        = user;
     _coupon      = coupon;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #5
0
 public CouponsController(ICouponServices coupon)
 {
     _coupon = coupon;
 }
Exemple #6
0
 public CouponController(ICouponServices couponService)
 {
     _couponService = couponService;
 }
 public CartController(IOrderServices order, IOrderDetailServices orderDetail, ICouponServices coupon)
 {
     _order       = order;
     _orderDetail = orderDetail;
     _coupon      = coupon;
 }