public Task DocumentResetAsync(Document document, CancellationToken cancellationToken) { _state.Remove(document.Id); return(_state.PersistAsync(document, new Data(VersionStamp.Default, VersionStamp.Default, designerAttributeArgument: null), cancellationToken)); }
public System.Threading.Tasks.Task DocumentResetAsync(Document document, CancellationToken cancellationToken) { _state.Remove(document.Id); return(_state.PersistAsync(document, new Data(VersionStamp.Default, VersionStamp.Default, designerAttributeArgument: string.Empty), cancellationToken)); }