Example #1
0
 public IEnumerable <UserModel> Filter(object model, IFilterRepository filter)
 {
     foreach (var item in addList)
     {
         if (filter.isAge(item))
         {
             yield return(item);
         }
     }
 }