Пример #1
0
        public Team(TeamDm dm)
        {
            Dm = dm;
            Id = dm.Id;
            var inTeam = ChildService.Instance.GetByTeam(dm).ToArray();

            KidsIn = inTeam.Length;
        }
Пример #2
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);
 }