BgEngine.Security.Services.CodeFirstRoleServices.RoleExist C# (CSharp) Метод

RoleExist() публичный статический Метод

public static RoleExist ( string role ) : bool
role string
Результат bool
        public static bool RoleExist(string role)
        {
            CodeFirstRoleProvider rp = new CodeFirstRoleProvider();
            return rp.RoleExists(role);
        }