Esempio n. 1
0
 public ActionResult StudentFeedbackStat(SearchStudentFeedbackStatModel searchModel)
 {
     return View("StudentFeedbackStat", new SearchStudentFeedbackStatModel()
     {
         SearchDate = DateTime.Now.Date
     });
 }
Esempio n. 2
0
 public ActionResult SearchStudentFeedbackStat(SearchStudentFeedbackStatModel searchModel)
 {
     searchModel.SearchDate = searchModel.SearchDate ?? new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
     var areaId = searchModel.BranchId.HasValue ? searchModel.BranchId.Value : 0;
     return PartialView("_StudentFeedbackStatList", ReportBLL.GetStudentFeedbackStat(areaId, searchModel.SearchDate.Value, DateTimeHelper.GetCurrMonthLastDayByDateTime(searchModel.SearchDate.Value)));
 }