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"); }
public ActionResult ReceptionCar() { var model = new MechanicReseption(); return View(model); }