I need to pass the IEnumerable and a delegate to my method, and then filter it and return IEnumerable collection with numbers that pass filter.
Func