Exemplo n.º 1
0
        public ActionResult Create(EmployeeModel employee)
        {
            ViewBag.Title = "Add New Employee";
            bool status = empDetails.AddEmployee(employee);

            return(RedirectToAction("Index"));
        }