Esempio n. 1
0
 public ActionResult BranchNoShowStat(SearchBranchNoShowStatModel searchModel)
 {
     return View("BranchNoShowStat", new SearchBranchNoShowStatModel()
     {
         SearchDate = DateTime.Now.Date
     });
 }
Esempio n. 2
0
 public ActionResult SearchBranchNoShowStat(SearchBranchNoShowStatModel 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("_BranchNoShowStatList", ReportBLL.GetBranchNoShowStat(areaId, searchModel.SearchDate.Value, DateTimeHelper.GetCurrMonthLastDayByDateTime(searchModel.SearchDate.Value)));
 }