예제 #1
0
        public ActionResult AddNew(Employee emp)
        {
            var com = new DBComponent();

            com.AddEmployee(emp);
            return(RedirectToAction("AllEmployees"));
        }