public ActionResult getMemberDetails(int memberUserId) { var mgr = new AdminMembersRepository(); var company = mgr.GetOrganizationByUser(int.Parse(User.Identity.Name)); var list = mgr.GetMemberDetails(memberUserId, company.Id); return(Json(list)); }