public List <DateAndExcetionsRepository> Create() { List <DateAndExcetionsRepository> dateAndExcetionsRepository = new List <DateAndExcetionsRepository>() { new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.SevenDaysFromTodayString), Date = _week.SevenDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.SixDaysFromTodayString), Date = _week.SixDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.FiveDaysFromTodayString), Date = _week.FiveDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.FourDaysFromTodayString), Date = _week.FourDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.ThreeDaysFromTodayString), Date = _week.ThreeDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.TwoDaysFromTodayString), Date = _week.TwoDaysFromTodayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.YesterdayString), Date = _week.YesterdayString }, new DateAndExcetionsRepository() { AmountOfExceptions = _chartService.ExcetionsPerDay().Count(p => p.Exception != "" && p.Date.RemoveTime() == _week.TodayString), Date = _week.TodayString }, }; return(dateAndExcetionsRepository); }