public static async Task <bool> ExistsIdAsync(Guid id) { var cmd = new CommandAppUserExistsId(id); cmd = await DataPortal.ExecuteAsync(cmd); return(cmd.Exists); }
public static bool ExistsId(Guid id) { var cmd = new CommandAppUserExistsId(id); cmd = DataPortal.Execute(cmd); return(cmd.Exists); }