public ActionResult Edit(Vehicle vehicle)
 {
     VehiclesManager manager = new VehiclesManager();
     manager.Update(vehicle);
     var item = manager.Get(vehicle.Id);
     return View(viewName: "Details", model: item);
 }
 public ActionResult Delete(int id)
 {
     VehiclesManager manager = new VehiclesManager();
     var item = manager.Get(id);
     manager.Remove(item);
     return View("Index");
 }
 public ActionResult Edit(int id)
 {
     VehiclesManager manager = new VehiclesManager();
     var item = manager.Get(id);
     return View(model: item);
 }