/// <summary>
 /// 作者:Kylin    
 /// 时间:2014.06.05
 /// 描述:教室对应排课表 (教学大课表)
 /// </summary>
 /// <param name="searchModel"></param>
 /// <returns></returns>
 public ActionResult SearchDailySchedule(SearchDailyScheduleModel searchModel)
 {
     searchModel.BeginTime = searchModel.BeginTime ?? DateTime.Now;
     var endTime = searchModel.BeginTime.Value.Date.AddDays(1).AddMilliseconds(-1);
     var dailyScheduleList = GetArrangeCourseList(searchModel.BranchId,
         searchModel.BeginTime.Value.Date, endTime);
     return PartialView("_List", dailyScheduleList);
 }
        public ActionResult DailySchedule()
        {
            var model = new SearchDailyScheduleModel()
            {
                BranchId = LoginUserManager.CurrLoginUser.BranchId,
                BeginTime = DateTime.Now,
                EndTime = DateTime.Now.Date.AddDays(1).AddMilliseconds(-1)
            };

            return View("_DailySchedule", model);
        }