public static void CreateSprintReport(Guid id, string description = null)
        {
            if (BDTasksController.GetAllLastResolvedTasks(id) != null &&
                BDTasksController.GetAllLastResolvedTasks(id).Count != 0)
            {
                CreateDailyReport(id);
            }
            var report = new Report(Guid.NewGuid()
                                    , id
                                    , GetAllResolvedTasks(id)
                                    , description);

            CreateSprintReportEmployee(report);
        }
        public static void CreateDailyReport(Guid id, string description = null)
        {
            //     oldList.ForEach((item)=> { newList.Add(new SomeType(item));});
            var resolvedTasks = new List <Task>();

            BDTasksController.GetAllLastResolvedTasks(id).ForEach((item) => { resolvedTasks.Add(new Task(item)); });
            var report = new Report(Guid.NewGuid(), id, resolvedTasks, description);

            CreateDailyReport(report);
            if (resolvedTasks.Count != 0)
            {
                BDTasksController.DeleteLastResolvedTasks(id);
            }
        }