Ejemplo n.º 1
0
 public BranchCartController()
 {
     _iShopBranchService = new ShopBranchService();
     _iCartService       = new CartService();
     _iProductService    = new ProductService();
     _iBranchCartService = new BranchCartService();
     _iShopService       = ServiceProvider.Instance <IShopService> .Create;
     _iVShopService      = new VShopService();
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 public BranchCartController()
 {
     _iShopBranchService = new ShopBranchService();
     _iCartService       = new CartService();
     _iProductService    = new ProductService();
     _iBranchCartService = new BranchCartService();
     _iShopService       = new ShopService();
     _iVShopService      = new VShopService();
 }
Ejemplo n.º 4
0
 public BranchCartHelper()
 {
     this._iBranchCartService = ServiceHelper.Create <IBranchCartService>();
     this._iProductService    = ServiceHelper.Create <IProductService>();
     this._iShopBranchService = ServiceHelper.Create <IShopBranchService>();
 }
Ejemplo n.º 5
0
 public BranchCartHelper(IBranchCartService iBranchCartService, IProductService iProductService, IShopBranchService iShopBranchService)
 {
     this._iBranchCartService = iBranchCartService;
     this._iProductService    = iProductService;
     this._iShopBranchService = iShopBranchService;
 }