public List <Role> Roles_Get() { global::AccessManagementService.Model.User user = SessionHelpers.GetUser(HttpContext.Current.Session); if (user == null) { return(null); } int userid = user.ID; myen = SessionHelpers.GetContext(HttpContext.Current.Session); return(myen.ListRolesOfUser(userid, true).ToList <Role>()); }