예제 #1
0
 public HttpResponseMessage Inserir(InserirUsuarioRequest request)
 {
     try
     {
         var response = _service.InserirResponse(request);
         return(Response(response, response.Status));
     }
     catch (Exception e)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, e.Message));
     }
 }