Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public ActionResult ReadTeams()
 {
     return(View(Mapper.Map <List <TeamsVM> >(TeamsDAL.ReadTeams())));
 }