You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
400 B
16 lines
400 B
using System.Collections.Immutable;
|
|
using Connected.Entities;
|
|
|
|
namespace Connected.ServiceModel.Search;
|
|
|
|
public interface ISearchService
|
|
{
|
|
Task<ImmutableList<TEntity>> Query<TEntity>(string catalog, string criteria);
|
|
|
|
Task Update<TEntity>(string catalog, TEntity entity)
|
|
where TEntity : IEntity;
|
|
|
|
Task Update<TEntity>(string catalog, IEnumerable<TEntity> entity)
|
|
where TEntity : IEntity;
|
|
}
|