using System.Collections.Immutable; using Connected.Annotations; using Connected.ServiceModel; using Connected.ServiceModel.Search; namespace Common.Notes; [Service] [ServiceUrl(NoteUrls.Notes)] public interface INoteService { Task> Query(NoteArgs args); Task Select(PrimaryKeyArgs args); Task Insert(InsertNoteArgs args); Task Update(UpdateNoteArgs args); Task Delete(PrimaryKeyArgs args); Task> QueryText(QueryNoteTextArgs args); [ServiceMethod(ServiceMethodVerbs.Get)] Task SelectText(SelectNoteTextArgs args); Task> Search(SearchArgs args); }