예제 #1
0
 public IHttpActionResult EditarTipo(int id)
 {
     try
     {
         return(Ok(_tipoRep.Find(id)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }