Table of Contents

Interface IContentVersionService

Namespace
Biwen.QuickApi.Contents.Services
Assembly
Biwen.QuickApi.Contents.dll
public interface IContentVersionService
Extension Methods

Methods

CreateVersionAsync(Guid, int, string)

Task CreateVersionAsync(Guid contentId, int version, string snapshot)

Parameters

contentId Guid
version int
snapshot string

Returns

Task

GetLatestVersionAsync(Guid)

Task<ContentVersion?> GetLatestVersionAsync(Guid contentId)

Parameters

contentId Guid

Returns

Task<ContentVersion>

GetVersionAsync(Guid, Guid)

Task<ContentVersion?> GetVersionAsync(Guid contentId, Guid version)

Parameters

contentId Guid
version Guid

Returns

Task<ContentVersion>

GetVersionsAsync(Guid)

Task<IEnumerable<ContentVersion>> GetVersionsAsync(Guid contentId)

Parameters

contentId Guid

Returns

Task<IEnumerable<ContentVersion>>