private IList <object[]> BuildTasksListReport(ReportFilter filter) { if (filter.TaskStatuses.Count == Enum.GetValues(typeof(TaskStatus)).Length) { filter.TaskStatuses.Clear(); } return(SelectOnlyCanReadTasks(reportDao.BuildTaskListReport(filter))); }