Example #1
0
        public IActionResult UpdateDealerVehicle(VehicleWithDealerViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return PartialView("UpdateVehicle", model);
            }

            model.Update();
            return PartialView("UpdateSuccessful", model);
        }
Example #2
0
 public bool Update(VehicleWithDealerViewModel viewModel)
 {
     return true;
 }