public ActionResult Index() { var model = new SearchRateFeedbackModel() { EndDate = DateTime.Now, BeginDate = DateTime.Now.Date.AddDays(-7).AddMilliseconds(-1) }; return View(model); }
public ActionResult TeacherRateFeedbackList(SearchRateFeedbackModel search, [DefaultValue(1)]int pageIndex) { Paging paging = new Paging { PageIndex = pageIndex, PageSize = 15 }; var model = RateBLL.GetTeacherRateFeedback(search.BranchId, search.IsGreater, Eme.WebCommon.LoginUserManager.CurrLoginUser.UserId, search.SearchKey, search.SearchKeyword , search.BeginDate, search.EndDate, search.ProductId, paging); Session["SearchTeacherRateFeedbackModel"] = search; return PartialView("_List", model); }