// GET: Employees/Create public ActionResult Create() { ViewBag.ManagerID = new SelectList(employeeBusinessManager.GetAll(), "ID", "Name"); ViewBag.RoleID = new SelectList(roleBusinessManager.GetAll(), "ID", "Name"); ViewBag.WorkloadID = new SelectList(workloadbusinessManager.GetAll(), "ID", "Name"); return(View()); }
// GET: Roles public ActionResult Index() { return(View(roleBusinessManager.GetAll())); }