コード例 #1
0
        public ActionResult Index()
        {
            var model = new SearchRateFeedbackModel()
            {
                EndDate = DateTime.Now,
                BeginDate = DateTime.Now.Date.AddDays(-7).AddMilliseconds(-1)

            };
            return View(model);
        }
コード例 #2
0
        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);
        }