示例#1
0
 public ActionResult Create(CarViewModel car)
 {
     _carBLL.Createcar(car);
     return(RedirectToAction("Index"));
 }
示例#2
0
 public ActionResult Create(CarViewModel car)
 {
     _carBLL.Createcar(car);
     ViewBag.Message = "New Car added to the system!";
     return(RedirectToAction("Index"));
 }