public ActionResult AddNew(EmpTable emp) { var obj = new DBComponent(); obj.AddNewEmployee(emp); return(RedirectToAction("AllEmployees")); }
public ActionResult AddNew(EmpTable emp) { var obj = new DBComponent(); obj.AddNewEmployee(emp); return(RedirectToAction("AllEmployees")); }