public ActionResult AccountCreation() { EmployeeVM employee = new EmployeeVM(); employee.TeamList = Mapper.Map <List <TeamsVM> >(TeamsDAL.ReadTeams()); employee.AssignmentList = Mapper.Map <List <AssignmentVM> >(AssignmentDAL.ReadAssignments()); employee.RoleList = Mapper.Map <List <RolesVM> >(RolesDAL.ReadRoles()); return(View(employee)); }
public ActionResult ReadTeams() { return(View(Mapper.Map <List <TeamsVM> >(TeamsDAL.ReadTeams()))); }