internal IEnumerable <Month> CreateForMonth(List <Block> blocks) { var months = new List <Month>(); foreach (var block in blocks) { var month = new DayDtoCreator().CreateForMonth(block); months.Add(month); } return(months); }
internal IEnumerable <Year> CreateForYear(List <Block> blocks) { var years = new List <Year>(); foreach (var block in blocks) { var year = new DayDtoCreator().CreateForYear(block); years.Add(year); } return(years); }
internal IEnumerable <Day> CreateForDays(List <Block> blocks) { var days = new List <Day>(); foreach (var block in blocks) { var day = new DayDtoCreator().CreateForDays(block); days.Add(day); } return(days); }