Ejemplo n.º 1
0
 public BaseAPIController() : base()
 {
     lgBus        = new LoginBusiness(this.GetContext());
     newsBus      = new NewsBusiness(this.GetContext());
     notiBus      = new NotifyBusiness(this.GetContext());
     giftBus      = new GiftBusiness(this.GetContext());
     rqBus        = new RequestBusiness(this.GetContext());
     cusBus       = new CustomerBusiness(this.GetContext());
     mBus         = new MessageBusiness(this.GetContext());
     apiBus       = new RequestAPIBusiness(this.GetContext());
     pBus         = new PointBusiness(this.GetContext());
     statisticBus = new StatisticBusiness(this.GetContext());
     shopBus      = new ShopBusiness(this.GetContext());
     itemBus      = new ItemBusiness(this.GetContext());
     orderBus     = new OrderBusiness(this.GetContext());
     packBus      = new PackageBusiness(this.GetContext());
     vnPay        = new VNPay(this.GetContext());
 }
Ejemplo n.º 2
0
 public BaseController() : base()
 {
     loginBusiness    = new LoginBusiness(this.GetContext());
     batchBusiness    = new BatchBusiness(this.GetContext());
     cardBusiness     = new CardBusiness(this.GetContext());
     requestBusiness  = new RequestBusiness(this.GetContext());
     newsBusiness     = new NewsBusiness(this.GetContext());
     cusBusiness      = new CustomerBusiness(this.GetContext());
     rankBusiness     = new RankBusiness(this.GetContext());
     configBusiness   = new ConfigBusiness(this.GetContext());
     pointBusiness    = new PointBusiness(this.GetContext());
     warrantyBusiness = new WarrantyBusiness(this.GetContext());
     statisticBus     = new StatisticBusiness(this.GetContext());
     orderBus         = new OrderBusiness(this.GetContext());
     userBusiness     = new UserBusiness(this.GetContext());
     itemBusiness     = new ItemBusiness(this.GetContext());
     productsBusiness = new ItemBusiness(this.GetContext());
     notifyBusiness   = new NotifyBusiness(this.GetContext());
     shopBusiness     = new ShopBusiness(this.GetContext());
     agentBusiness    = new AgentBusiness(this.GetContext());
     vnpay            = new VNPay(this.GetContext());
 }