private async Task <bool> NotExist(ModifyTenantCommand command, string email, CancellationToken cancellationToken)
 {
     return(await _repo.FindByEmailAsync(email, command.Id) == null);
 }
Example #2
0
 private async Task <bool> NotExist(string email, CancellationToken cancellationToken)
 {
     return(await _repo.FindByEmailAsync(email) == null);
 }