public ActionResult SearchTeachRecordList(SearchTeachRecordModel search, [DefaultValue(1)]int pageIndex)
 {
     var model = StudyBLL.GetTeachRecordList(search.UserId, search.BranchId, search.SearchCourseStatusKey, search.BeginDate, search.EndDate, search.SearchKey ,search.SearchKeyword, new Paging()
     {
         PageIndex = pageIndex,
         PageSize = Global.ManagerXlPageSize
     });
     Session["SearchTeachRecordModel"] = search;
     return PartialView("_List", model);
 }
        public ActionResult Index(int? userId)
        {
            if (userId.HasValue)
            {
                var user = WebCommon.Cache.UserInfoCache.GetCacheUserInfoByUserId(userId.Value);
                ViewBag.UserName = string.Format("{0} {1}", user.CName, user.CName == user.EName ? "" : user.EName);
            }

            var model = new SearchTeachRecordModel()
            {
                UserId = userId
            };
            return View(model);
        }