using Somnia.GuestLog.Models.DTOs; namespace Somnia.GuestLog.Services.Entity; public interface IGuestDocumentEntityService { public Task CreateDocumentAsync(GuestDocumentDTO dto); public Task UpdateDocumentAsync(GuestDocumentDTO dto); /// /// Same behavior as /// public Task DeleteDocumentAsync(GuestDocumentDTO dto); /// /// Delete documents by ID. /// This operation will delete all versions of a document. /// /// ID of the document to Delete public Task DeleteDocumentAsync(long id); public Task GetLastVersionDtoByIdAsync(long id); public Task GetLastVersionDtoByDocumentAsync(string docType, string docNum); public Task> GetDtoListAsync(bool onlyLastVersion); public Task> GetDtoListByFilterAsync(GuestDocFilterDTO filter, int limit = 0); }