❔ filtering searches
So i have this field and i have a method
tried doing it with Linq and i dont know how to make it
this is my attempt:
public static IEnumerable<SearchGroup> GetSearches(string filter = null) that gets filter as parameter and needs to return new List<SearchGroup> but only with Searches thats Location property starts with filter valuetried doing it with Linq and i dont know how to make it
this is my attempt: