public ShopingCartController(IPageRepository page_repo,
                              IGamePlatformRepository gp_repo,
                              IProductRepository prod_repo,
                              IGameRepository game_repo,
                              IUserRepository user_repo,
                              ICommon_Name_UrlRepository common_repo,
                              IPaymentSettingRepository pay_repo,
                              IShopping_Cart_Repository shop_repo,
                              IAddressRepository addr_repo,
                              IReviewRepository review_repo,
                              IWishListRepository wish_repo,
                              ISearchRepository search_repo,
                              ICreditRepository credit_repo,
                              IEmailSender emailSender,
                              ISmsSender sms_sender)
 {
     _page_repo   = page_repo;
     _gp_repo     = gp_repo;
     _prod_repo   = prod_repo;
     _game_repo   = game_repo;
     _common_repo = common_repo;
     _pay_repo    = pay_repo;
     _shop_repo   = shop_repo;
     _addr_repo   = addr_repo;
     _review_repo = review_repo;
     _wish_repo   = wish_repo;
     _search_repo = search_repo;
     _credit_repo = credit_repo;
     _emailSender = emailSender;
     _user_repo   = user_repo;
     _sms_sender  = sms_sender;
     _fetchr      = new FetchrApi();
 }
Exemplo n.º 2
0
 public MobileNavViewComponent(IGamePlatformRepository gp_repo,
                               ICommon_Name_UrlRepository common_repo,
                               ICategoryRepository cat_repo,
                               IGenereRepository gr_repo)
 {
     _gp_repo     = gp_repo;
     _cat_repo    = cat_repo;
     _gr_repo     = gr_repo;
     _common_repo = common_repo;
 }
 public PlatformViewComponent(IGamePlatformRepository gp_repo,
                              ICommon_Name_UrlRepository common_repo,
                              ICategoryRepository cat_repo,
                              IGenereRepository gr_repo,
                              IFeatureLinkRepository fea_repo)
 {
     _gp_repo     = gp_repo;
     _cat_repo    = cat_repo;
     _gr_repo     = gr_repo;
     _common_repo = common_repo;
     _fea_repo    = fea_repo;
 }
Exemplo n.º 4
0
 public ProductsController(
     IGamePlatformRepository gp_repo,
     IGenereRepository gr_repo,
     IImageRepository img_repo,
     IGameRepository game_repo,
     IPageRepository page_repo,
     IProductRepository prod_repo)
 {
     _gp_repo   = gp_repo;
     _gr_repo   = gr_repo;
     _img_repo  = img_repo;
     _game_repo = game_repo;
     _page_repo = page_repo;
     _prod_repo = prod_repo;
 }
Exemplo n.º 5
0
        public GamePlatformController()
        {
            var service = SimpleInjectorContainer.GetInstance <IGamePlatformRepository>();

            _repo = (IGamePlatformRepository)service;
        }
 public GamePlatformsController(IGamePlatformRepository gamePlatformRepository)
 {
     this.gamePlatformRepository = gamePlatformRepository;
 }