public IActionResult UpdateDealerVehicle(VehicleWithDealerViewModel model) { if (!ModelState.IsValid) { return PartialView("UpdateVehicle", model); } model.Update(); return PartialView("UpdateSuccessful", model); }
public bool Update(VehicleWithDealerViewModel viewModel) { return true; }