public virtual List <Project> GetOpenProjectsWithTasks(Guid participantId) { return(projectDao.GetOpenProjectsWithTasks(participantId) .Where(CanRead) .ToList()); }
public IEnumerable <Project> GetOpenProjectsWithTasks(Guid participantId) { return(projectDao.GetOpenProjectsWithTasks(participantId).Where(canReadDelegate)); }