public async Task <Client> GetByIdAsync(Guid id) { try { return(await _repositoryClient.GetClientByIdAsync(id)); } catch (Exception) { Notify("Falha ao obter o cliente por nome."); } return(null); }