public async Task <string> CommitMultiPartUploadAsync(string uploadID, IEnumerable <KeyValuePair <string, string> > partUploadResults) { var uploadIdentifier = _uploadIdentifierSerializer.Deserialize(uploadID); var documentIdentifier = await CommitMultiPartUploadAsync(uploadIdentifier, partUploadResults); return(_documentIdentifierSerializer.Serialize(documentIdentifier)); }
public IDocumentIDUploadInfo GetDocumentIDUploadInfo(IDocumentUploadInfo documentUploadInfo) { return (_documentIDUploadInfoFactory( _idUploadInfoProvider.GetIDUploadInfo(documentUploadInfo.UploadInfo), _documentIdentifierSerializer.Serialize(documentUploadInfo.DocumentIdentifier) )); }