/// <summary> /// 用户列表 /// </summary> /// <param name="model"></param> /// <returns></returns> public ActionResult Item(GetMotherUserRequest model) { var total = 0; var list = new List <MotherUserDetail>(); try { list = MotherUserClient.Instance.GetMotherUserList(model, out total); } catch (Exception ex) { throw; } model.Total = total; ViewBag.List = list; return(View()); }
/// <summary> /// 用户管理 /// </summary> /// <param name="model"></param> /// <returns></returns> public ActionResult Index(GetMotherUserRequest model) { ViewBag.MotherUser = model; var total = 0; try { var list = MotherUserClient.Instance.GetMotherUserList(model, out total); } catch (Exception ex) { throw; } model.Total = total; ViewBag.ByReportProjectId = model.UserId; return(View()); }