private Task CreateFileAsync(bool isNew, string fileName, Stream outputStream) { if (isNew) { return(_fileStoreService.CreateAsync(DocumentAssetConstants.FileContainerName, fileName, outputStream)); } else { return(_fileStoreService.CreateOrReplaceAsync(DocumentAssetConstants.FileContainerName, fileName, outputStream)); } }