diff --git a/Services/AuditTrailContentVersionNumberService.cs b/Services/AuditTrailContentVersionNumberService.cs index c27e055..d38662e 100644 --- a/Services/AuditTrailContentVersionNumberService.cs +++ b/Services/AuditTrailContentVersionNumberService.cs @@ -13,7 +13,7 @@ public class AuditTrailContentVersionNumberService : IAuditTrailContentVersionNu public AuditTrailContentVersionNumberService(ISession session) => _session = session; - public Task GetLatestVersionNumberChangedAsync(string contentItemId) => + public Task GetLatestVersionNumberAsync(string contentItemId) => _session .Query(index => index.CorrelationId == contentItemId && index.Name == Saved) diff --git a/Services/IAuditTrailContentVersionNumberService.cs b/Services/IAuditTrailContentVersionNumberService.cs index e591689..0c48bce 100644 --- a/Services/IAuditTrailContentVersionNumberService.cs +++ b/Services/IAuditTrailContentVersionNumberService.cs @@ -14,7 +14,7 @@ public interface IAuditTrailContentVersionNumberService /// /// Returns the current largest version number for the content item. /// - Task GetLatestVersionNumberChangedAsync(string contentItemId); + Task GetLatestVersionNumberAsync(string contentItemId); /// /// Returns the version number and its content of a specific version as of the event identified by the given @@ -30,5 +30,5 @@ public static class ContentVersionNumberServiceExtensions public static Task GetLatestVersionNumberAsync( this IAuditTrailContentVersionNumberService service, IContent content) => - service.GetLatestVersionNumberChangedAsync(content?.ContentItem?.ContentItemId); + service.GetLatestVersionNumberAsync(content?.ContentItem?.ContentItemId); }