Example #1
0
        public HttpResponseMessage Get(Guid id)
        {
            try
            {
                var b = PessoaNegocio.filtrarPorId(id);
                return(Request.CreateResponse(HttpStatusCode.OK, b));
            }
            catch (Exception ex)
            {
                return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex));

                throw;
            }
        }