Example #1
0
        public static async Task <bool> ExistsNameAsync(string name)
        {
            var cmd = new CommandRoleExistsName(name);

            cmd = await DataPortal.ExecuteAsync(cmd);

            return(cmd.Exists);
        }
Example #2
0
        public static bool ExistsName(string name)
        {
            var cmd = new CommandRoleExistsName(name);

            cmd = DataPortal.Execute(cmd);

            return(cmd.Exists);
        }