Ejemplo n.º 1
0
 public ActionResult ReceptionDone(MechanicReseption reception)
 {
     if (ModelState.IsValid)
     {
         MechanicReseption result = new MechanicReseption();
         result.AssignTo(reception);
         ///TODO saving model into database
         return RedirectToAction("Index", "Mechanic");
     }
     return RedirectToAction("Index", "Mechanic");
 }
Ejemplo n.º 2
0
 public ActionResult ReceptionCar()
 {
     var model = new MechanicReseption();
     return View(model);
 }