Ejemplo n.º 1
0
        public ActionResult List()
        {
            //We dont need any changes for Owner so we append where condition for that.
            var roleMasterId = Convert.ToInt64(CookieHelper.GetCookie(CookieName.RoleMasterId));

            var roles = RoleManagement.GetRoleList().Where(s => s.RoleMasterId != roleMasterId).ToList();

            return(View(roles));
        }