private void WritePersonWorkDay(PersonReport personReport)
 {
     foreach (var reportTask in personReport.ReportTasks)
     {
         WriteRow(personReport.Person, reportTask);
     }
 }
        private PersonReport GetPersonReport(PersonWorkMonth personWorkMonth)
        {
            var tasksReport = new List<TaskReport>();

            foreach (var day in personWorkMonth.WorkDays)
            {
                foreach (var task in day.Tasks)
                {
                    var reportTask = new TaskReport
                    {
                        Task = task,
                        WorkingHours = task.Hours.Value,
                        Date = day.Date
                    };

                    tasksReport.Add(reportTask);
                }
            }

            var personWorkDayReport = new PersonReport
            {
                Person = personWorkMonth.Person,
                ReportTasks = tasksReport
            };

            return personWorkDayReport;
        }