public ActionResult MoviesInTheaterGrid() { gridMvcHelper = new GridMvcHelper(); List<tbl_Movie> moviesList = new LoadData().LoadMoviesData(); var model = new BuildGrids().BuildMovieSubGrids(moviesList); return View(gridMvcHelper.GetAjaxGrid(model.AsQueryable())); }
public ActionResult MoviesInTheaterGrid() { gridMvcHelper = new GridMvcHelper(); List <tbl_Movie> moviesList = new LoadData().LoadMoviesData(); var model = new BuildGrids().BuildMovieSubGrids(moviesList); return(View(gridMvcHelper.GetAjaxGrid(model.AsQueryable()))); }
public virtual ActionResult GridGetAllNavigation() { gridMvcHelper = new GridMvcHelper(); IOrderedQueryable <CMSNavigation> allNavigation = CMSNavigation.GetAll().OrderBy(x => x.sort); AjaxGrid <CMSNavigation> grid = this.gridMvcHelper.GetAjaxGrid(allNavigation); return(PartialView(grid)); }
public virtual ActionResult GridGetAllNavigationPager(string txtSearch, int?page) { gridMvcHelper = new GridMvcHelper(); IOrderedQueryable <CMSNavigation> allData = CMSNavigation.GetAll().OrderBy(x => x.sort); if (!string.IsNullOrEmpty(txtSearch)) { allData = allData.Where(x => x.Name.Contains(txtSearch) || x.Controller.Contains(txtSearch)).OrderBy(x => x.sort); } AjaxGrid <CMSNavigation> grid = this.gridMvcHelper.GetAjaxGrid(allData, page); object jsonData = this.gridMvcHelper.GetGridJsonData(grid, MVC.CMSNavigation.Views.GridGetAllNavigation, this); return(Json(jsonData, JsonRequestBehavior.AllowGet)); }
public EczaneGrupController(IEczaneGrupService eczaneGrupService, IEczaneService eczaneService, IEczaneNobetGrupService eczaneNobetGrupService, IEczaneGrupTanimService eczaneGrupTanimService, INobetUstGrupService nobetUstGrupService, IUserService userService, INobetGrupService nobetGrupService, INobetGorevTipService nobetGorevTipService, INobetGrupGorevTipService nobetGrupGorevTipService, INobetUstGrupSessionService nobetUstGrupSessionService) { _eczaneGrupService = eczaneGrupService; _eczaneService = eczaneService; _nobetUstGrupService = nobetUstGrupService; _eczaneGrupTanimService = eczaneGrupTanimService; _eczaneNobetGrupService = eczaneNobetGrupService; _userService = userService; _nobetGrupService = nobetGrupService; _nobetGorevTipService = nobetGorevTipService; _nobetGrupGorevTipService = nobetGrupGorevTipService; _nobetUstGrupSessionService = nobetUstGrupSessionService; this.gridMvcHelper = new GridMvcHelper(); }
public GridMvcController() { this.gridMvcHelper = new GridMvcHelper(); this.data = new FootballersData(); }
//private IDemoData data; //this.data = new FootballersData(); public gridMVCSortingController(IEczaneGrupService eczaneGrupService) { this.gridMvcHelper = new GridMvcHelper(); _eczaneGrupService = eczaneGrupService; }
public HomeController() { this.gridMvcHelper = new GridMvcHelper(); this.data = new FootballersData(); }
public HomeController(IRepository repository) { this.gridMvcHelper = new GridMvcHelper(); _repository = repository; }
public ArticleController(IArticleService articleService, ICategoryService categoryService, IGridMvcHelper gmHelper) { this.ArticleService = articleService; this.CategoryService = categoryService; this.GridMvcHelper = gmHelper; }