Exemple #1
0
 // GET: Garage/Delete/5
 public ActionResult CheckOut(int id = 0)
 {
     if (id != 0)
     {
         garage.UpdateVehiclePrice(id);
         return(View(garage.GetVehicle(id)));
     }
     return(RedirectToAction("Index"));
 }