Exemplo n.º 1
0
 public TeamMvc(TeamDm s)
 {
     Id     = s.Id;
     Name   = s.Name;
     MinAge = s.MinAge;
     MaxAge = s.MaxAge;
     Gender = s.Gender;
     Leader = new LeaderMvc(s.Leader);
 }
Exemplo n.º 2
0
 public EventMvc(EventDm dm)
 {
     Id           = dm.Id;
     Name         = dm.Name;
     DateFrom     = dm.DateFrom;
     DateUntil    = dm.DateUntil;
     Contribution = dm.Contribution;
     Leader       = new LeaderMvc(dm.Leader);
 }
Exemplo n.º 3
0
 public RegistrationModel(RegistrationDm dm)
 {
     Dm           = dm;
     Id           = dm.Id;
     Name         = dm.Event.Name;
     DateFrom     = dm.Event.DateFrom;
     DateUntil    = dm.Event.DateUntil;
     Contribution = dm.Event.Contribution;
     Leader       = new LeaderMvc(dm.Event.Leader);
     Accepted     = dm.Accepted;
     Paid         = dm.Paid;
 }