public ActionResult AddRole(FormCollection collection) { string RoleName = collection["RoleName"]; string Notes = collection["Notes"]; data.AddRole(RoleName, Notes); return(RedirectToAction("Role", "Employees")); }
public ActionResult AddRole(FormCollection collection) { string RoleName = collection["RoleName"]; string Notes = collection["Notes"]; data.AddRole(RoleName, Notes); return(RedirectToAction("Role", "Employees")); }