Exemple #1
0
        public ActionResult CreateTeam()
        {
            TeamsVM team = new TeamsVM();

            team.Clients = Mapper.Map <List <ClientsVM> >(ClientsDAL.ReadClients());
            return(View(team));
        }
Exemple #2
0
        public ActionResult CreateAssignment()
        {
            AssignmentVM assignmment = new AssignmentVM();

            assignmment.Created   = DateTime.Now;
            assignmment.Modify    = DateTime.Now;
            assignmment.Clients   = Mapper.Map <List <ClientsVM> >(ClientsDAL.ReadClients());
            assignmment.Positions = Mapper.Map <List <PositionsVM> >(PositionsDAL.ReadPositions());
            return(View(assignmment));
        }
Exemple #3
0
 public ActionResult ReadClients()
 {
     return(View(Mapper.Map <List <ClientsVM> >(ClientsDAL.ReadClients())));
 }