public ActionResult Create(Machine Machine) { _db.Machines.Add(Machine); _db.SaveChanges(); return(RedirectToAction("Index", "Home")); }
public ActionResult Create(Engineer Engineer) { _db.Engineers.Add(Engineer); _db.SaveChanges(); return(RedirectToAction("Index", "Home")); }