Пример #1
0
        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);
        }