public ActionResult AddNew(Employee emp) { var com = new DBComponent(); com.AddEmployee(emp); return(RedirectToAction("AllEmployees")); }