namespace RhSolutions.Models; public static class ProductExtensions { public static IEnumerable FilterByName(this IEnumerable products, string[] searchKeys) { return products.Where(p => searchKeys.Any(k => p.Name.Contains(k))); } }