public ActionResult Create(EmployeeModel employee) { ViewBag.Title = "Add New Employee"; bool status = empDetails.AddEmployee(employee); return(RedirectToAction("Index")); }
public ActionResult Create(EmployeeModel employee) { ViewBag.Title = "Add New Employee"; bool status = empDetails.AddEmployee(employee); return(RedirectToAction("Index")); }