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