public ActionResult ShowDetail(string model) { CarList cl = new CarList(); Car c = cl.GetCars().Where(cc => cc.Model == model).ToList()[0]; return View(c); }
public ActionResult ShowAll() { CarList cl = new CarList(); return View(cl); }