public async Task <List <Henchman> > GetFilteredHenchmen(Filter filter)
        {
            var allHenchmen = await _dao.GetHenchmen();

            var henchmen = allHenchmen.Where(m => filter.Editions.Any(e => m.Edition == e)).ToList();

            return(henchmen);
        }
Exemple #2
0
 public List <Henchman> GetHenchmen()
 {
     return(_dao.GetHenchmen());
 }