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

            return View(cl);
        }