Example #1
0
        public async Task <ActionResult> DownloadSignIn(string id)
        {
            string filename = String.Format("{0}.docx", id);

            DownloadViewModel viewModel = new DownloadViewModel(
                blobId: filename
                );

            DownloadPayload blobData = await viewModel.GetStream();

            return(File(blobData.Stream, blobData.ContentType, filename));
        }