Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult Edit(Guid id, TruckForm truckForm) { if (!ModelState.IsValid) { return(View(truckForm)); } _truckService.Edit(truckForm.ToTruck()); return(RedirectToAction("Index", new TruckListFiltersModel().GetRouteValues()).WithSuccess("Camion Editado")); }