Beispiel #1
0
        private int GetSolvedTaskNumber()
        {
            var sum = 0;

            sum += _globalTaskService.GetMyList().Count(x => x.IsSolved);

            sum += _periodTaskService.GetMyList().Count(x => x.IsSolved);

            sum += _subjectTaskService.GetMyList().Count(x => x.IsSolved);

            return(sum);
        }
Beispiel #2
0
 public List <TaskDto> GetMyList()
 {
     return(_service.GetMyList());
 }