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.
Connected.Common/Common.Notes.Model/INoteService.cs

25 lines
675 B

2 years ago
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<ImmutableList<INote>> Query(NoteArgs args);
Task<INote?> Select(PrimaryKeyArgs<long> args);
Task<long> Insert(InsertNoteArgs args);
Task Update(UpdateNoteArgs args);
Task Delete(PrimaryKeyArgs<long> args);
Task<ImmutableList<INoteText>> QueryText(QueryNoteTextArgs args);
[ServiceMethod(ServiceMethodVerbs.Get)]
Task<INoteText?> SelectText(SelectNoteTextArgs args);
Task<ImmutableList<INoteSearch>> Search(SearchArgs args);
}