Ejemplo n.º 1
0
        public ActionResult GetReportQRCode(Guid?ReportId, string ControllerName)
        {
            ReportId = ReportId ?? Guid.Empty;
            var url = Request.Url.ToString().Replace(Request.Url.PathAndQuery, "") + "/" + ControllerName + "/ReportMobileDetail?reportId=" + ReportId.Value;

            return(File(QRCodeHelper.GetQRCodeByteArray(url), "image/Jpeg"));
        }