/// <summary>
 /// Сохранить изображения подписи асинхронно
 /// </summary>
 private async Task <IResultValue <ISignatureFile> > ToSignatureFileAsync(ISignatureFileData signatureFileData,
                                                                          string signatureFolder) =>
 await _fileSystemOperations.SaveFileFromByte(FilePathOperations.CombineFilePath(signatureFolder, signatureFileData.PersonId,
                                                                                 SignatureFile.SaveFormat),
                                              signatureFileData.SignatureSource.ToArray()).
 ResultValueOkAsync(filePath => new SignatureFile(signatureFileData.PersonId, signatureFileData.PersonInformation,
                                                  signatureFolder, signatureFileData.IsVerticalImage));
 /// <summary>
 /// Преобразовать подпись из трансферной модели и сохранить файл подписи
 /// </summary>
 private IResultValue <ISignatureFile> SignatureFileFromDto(SignatureDto signatureDto, string signatureFolder) =>
 SignatureFile.GetFilePathByFolder(signatureFolder, signatureDto.PersonId, false).
 Map(signatureFilePath =>
     _fileSystemOperations.SaveFileFromByte(signatureFilePath, signatureDto.SignatureSourceList).WaitAndUnwrapException().
     ResultValueOk(_ => new SignatureFile(signatureDto.PersonId, PersonInformationFromDto(signatureDto.PersonInformation),
                                          signatureFilePath, false)));