Esempio n. 1
0
 public OrderService(IOrderRepository _orderRepository, IShopSkuRepository _shopSkuRepository, IOrderDetailRepository _orderDetailRepository, IUnitOfWork _unitOfWork,
                     IUserRepository _userRepository, IShopCouponRepository _shopCouponRepository, IShopRepository _shopRepository)
 {
     orderRepository       = _orderRepository;
     shopSkuRepository     = _shopSkuRepository;
     orderDetailRepository = _orderDetailRepository;
     unitOfWork            = _unitOfWork;
     userRepository        = _userRepository;
     shopCouponRepository  = _shopCouponRepository;
     shopRepository        = _shopRepository;
 }
Esempio n. 2
0
 public ShopService(IHostingEnvironment _hostingEnv, IShopRepository _shopRepository, IShopSkuRepository _shopSkuRepository,
                    IShopAttrRepository _shopAttrRepository, IShopImageRepository _shopImageRepository, IShopCouponRepository _shopCouponRepository,
                    IUnitOfWork _unitOfWork)
 {
     this.hostingEnv           = _hostingEnv;
     this.shopRepository       = _shopRepository;
     this.shopSkuRepository    = _shopSkuRepository;
     this.shopAttrRepository   = _shopAttrRepository;
     this.shopImageRepository  = _shopImageRepository;
     this.shopCouponRepository = _shopCouponRepository;
     this.unitOfWork           = _unitOfWork;
 }