public void DoWork() { var options = new ProductSearchOptions { Name = "Test", MaxPrice = 100, MinRating = 3 }; var products = _repo.GetProducts(options); // ... more code goes here }
public IEnumerable <Product> GetProducts(ProductSearchOptions options) { throw new NotImplementedException(); }