public ActionResult ShowUserInfo(int id) { UserInfo userInfo = userInfoService.LoadEntities(u => u.ID == id).FirstOrDefault(); return(Content(WebCommon.GetJson(userInfo))); }
public ActionResult ShowRoleInfo(int id) { RoleInfo roleInfo = RoleInfoService.LoadEntities(u => u.ID == id).FirstOrDefault(); return(Content(WebCommon.GetJson(roleInfo))); }