Exemplo n.º 1
0
 public JsonResult Update(TruckManufacturerViewModel truckManufacturer)
 {
     try
     {
         var truckManufacturerUpdateResult = _truckManufacturerService.ValidateTruckManufacturerToUpdate(truckManufacturer);
         return(Json(truckManufacturerUpdateResult, JsonRequestBehavior.AllowGet));
     }
     catch (Exception)
     {
         throw;
     }
 }