コード例 #1
0
        public ActionResult JobOrderFinalAttachment(int id)
        {
            var fileToRetrieve = db.JobOrderFinalAttachment.Find(id);

            byte[] file = blobManager.DownloadBlobClient(fileToRetrieve.JobOrderNumber.ToLower(), cmsMgr.GetJobOrderFileName(fileToRetrieve.FileId).ToLower());

            return(File(file, fileToRetrieve.ContentType, fileToRetrieve.FileName));
        }