using System.Collections.Immutable; using Connected.Entities; namespace Connected.ServiceModel.Search; public interface ISearchService { Task> Query(string catalog, string criteria); Task Update(string catalog, TEntity entity) where TEntity : IEntity; Task Update(string catalog, IEnumerable entity) where TEntity : IEntity; }