public ICollection <WorkProjectDto> Get()
        {
            var totalHours = new StatisticsClient(_ctx).GetTotalHoursByProject();

            return(_ctx.WorkProjects.AsEnumerable()
                   .Select(x => new WorkProjectDto(x)
            {
                TotalHours = totalHours?.GetValueOrDefault(x.Id) ?? 0
            })
                   .ToList());
        }