Beispiel #1
0
 private void CreateFile(bool isNew, string fileName, Stream outputStream)
 {
     if (isNew)
     {
         _fileStoreService.Create(ASSET_FILE_CONTAINER_NAME, fileName, outputStream);
     }
     else
     {
         _fileStoreService.CreateOrReplace(ASSET_FILE_CONTAINER_NAME, fileName, outputStream);
     }
 }
Beispiel #2
0
 private void CreateFile(bool isNew, string fileName, Stream outputStream)
 {
     if (isNew)
     {
         _fileStoreService.Create(DocumentAssetConstants.FileContainerName, fileName, outputStream);
     }
     else
     {
         _fileStoreService.CreateOrReplace(DocumentAssetConstants.FileContainerName, fileName, outputStream);
     }
 }