예제 #1
0
        public Task <HttpResponseMessage> Get(Guid id)
        {
            var cliente = _clienteApp.ObterPorId(id);

            if (cliente == null)
            {
                return(CreateResponse(HttpStatusCode.InternalServerError, cliente));
            }

            return(CreateResponse(HttpStatusCode.OK, cliente));
        }