Exemplo n.º 1
0
        private (int, int) ParseAgeGroup(Domain.AgeGroup ageGroup)
        {
            string ageGroupString = ageGroup.ToString();

            string[] ageBorders = ageGroupString.Split('A', '_', 'Y');
            return(int.Parse(ageBorders[1]), int.Parse(ageBorders[2]));
        }
Exemplo n.º 2
0
 public IEnumerable <Domain.DTO.ChildNoEventsDTO> GetChildrenNoEvents(Domain.Event e, Domain.AgeGroup a)
 {
     return(ChildRepo.GetChildrenNoEvents(e, a));
 }