Exemplo n.º 1
0
        public async Task <ActionResult <Recipient> > GetRecipient(long document)
        {
            var recipient = await _repository.GetByDocument(document);

            if (recipient == null)
            {
                return(NotFound());
            }
            return(recipient);
        }