public BranchCartController() { _iShopBranchService = new ShopBranchService(); _iCartService = new CartService(); _iProductService = new ProductService(); _iBranchCartService = new BranchCartService(); _iShopService = ServiceProvider.Instance <IShopService> .Create; _iVShopService = new VShopService(); }
public BranchCartController() { this._iShopBranchService = (IShopBranchService) new ShopBranchService(); this._iCartService = (ICartService) new CartService(); this._iProductService = (IProductService) new ProductService(); this._iBranchCartService = (IBranchCartService) new BranchCartService(); this._iShopService = (IShopService) new ShopService(); this._iVShopService = (IVShopService) new VShopService(); }
public BranchCartController() { _iShopBranchService = new ShopBranchService(); _iCartService = new CartService(); _iProductService = new ProductService(); _iBranchCartService = new BranchCartService(); _iShopService = new ShopService(); _iVShopService = new VShopService(); }
public BranchCartHelper() { this._iBranchCartService = ServiceHelper.Create <IBranchCartService>(); this._iProductService = ServiceHelper.Create <IProductService>(); this._iShopBranchService = ServiceHelper.Create <IShopBranchService>(); }
public BranchCartHelper(IBranchCartService iBranchCartService, IProductService iProductService, IShopBranchService iShopBranchService) { this._iBranchCartService = iBranchCartService; this._iProductService = iProductService; this._iShopBranchService = iShopBranchService; }