Example #1
0
 public IActionResult Post(DtoUsuario pEntidad)
 {
     try
     {
         var result = _service.Post(pEntidad);
         return(Json(_respuesta.RespuestaCorrectaPOST(result, "Se Guardó Correctamente", "Ocurrió un error")));
     }
     catch (Exception ex)
     {
         return(Json(_respuesta.RespuestaError(ex.ToString())));
     }
 }