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])); }
public IEnumerable <Domain.DTO.ChildNoEventsDTO> GetChildrenNoEvents(Domain.Event e, Domain.AgeGroup a) { return(ChildRepo.GetChildrenNoEvents(e, a)); }