public async Task <Distributor> GetByEmail(string email) { var distributor = await _repository.GetByEmail(email); //if (distributor == null) // throw new NotFoundException("Distributor não encontrado", 0); return(distributor); }