public async Task <List <Scheme> > GetFilteredSchemes(Filter filter) { var allSchemes = await _dao.GetSchemes(); var schemes = allSchemes.Where(m => filter.Editions.Any(e => m.Edition == e)).ToList(); return(schemes); }
public List <Scheme> GetSchemes() { return(_dao.GetSchemes()); }