using Core.Entities; namespace WebApp.Services; public interface INotesService { /// /// Gets all notes. /// Task> GetNotesAsync(); /// /// Gets a single note by ID. /// Task GetNoteAsync(int id); /// /// Gets all history entries for a note. /// Task> GetNoteHistoryAsync(int noteId); /// /// Creates a new note and initial history entry. /// Task CreateNoteAsync(Note note); /// /// Updates an existing note and creates a history entry. /// Task UpdateNoteAsync(Note note); /// /// Deletes a note and creates a deletion history entry. /// Task DeleteNoteAsync(int id); }