public string GetImagePath(string id, string sas) { var fileName = AzureBlobSA.DecodeFrom64(id); return(AzureBlobSA.GetSasBlobUrl(AzureBlobSA.REFUND_FILES_CONTAINER, fileName, sas)); }
public ActionResult GetImage(string id, string sas) { var fileName = AzureBlobSA.DecodeFrom64(id); return(new RedirectResult(AzureBlobSA.GetSasBlobUrl(AzureBlobSA.TEST_CONTAINER, fileName, sas))); }
public ActionResult GetImage(string id) { string fileName = AzureBlobSA.DecodeFrom64(id); return(new RedirectResult(AzureBlobSA.GetSasBlobUrl("dnc-demo", fileName, Request.QueryString["sas"]))); }