Esempio n. 1
0
 public HttpResponseMessage Carregar([FromUri] int id)
 {
     return(ExecuteFunction(() =>
     {
         var result = service.Carregar(id);
         return Request.CreateResponse(HttpStatusCode.OK, result);
     }));
 }