internal static IRoleManager GetRoleManger(this Model.Model model) { return(model.GetNamedRoleManger(PermConstants.DefaultRoleType)); }