/// <summary> /// 作者:Kylin /// 时间:2014.03.13 /// 获取用户Follow列表 /// </summary> /// <param name="condition"></param> /// <param name="pageIndex"></param> /// <returns></returns> public ActionResult SearchFollowList(SearchFollowModel condition, [DefaultValue(1)]int pageIndex) { var page = new Paging() { PageIndex = pageIndex, PageSize = Global.ManagerSmallPageSize }; Session["SearchFollowModel"] = condition ?? new SearchFollowModel(); if (condition != null) { ViewBag.UserId = condition.UserId; return PartialView("_List", FollowBLL.GetFollowListByBranchId(condition.BranchId, condition.UserId, condition.UpdateBy, condition.FollowModelType, condition.StartTime, condition.EndTime, condition.IsRead, condition.IsReplay, condition.IsRate, condition.SearchKey, condition.SearchKeyValue, page)); } return View("_List"); }
public ActionResult Index(int? userId,int? updateBy) { if (userId.HasValue) { ViewBag.updateBy = updateBy; Session["SearchUserFollow"] = new SearchFollowModel() { UserId = userId,UpdateBy =updateBy}; } return View(); }