How to pass parameters to a Func - C#