public async Task <ActionResult> Reports(string reportId) { ReportEmbeddingData embeddingData = await PbiEmbeddingManager.GetEmbeddingDataForReport(reportId); return(View(embeddingData)); }
public async Task <ActionResult> Reports(string reportId) { ReportEmbeddingData embeddingData = await PbiEmbeddedManager.GetEmbeddingDataForReport(reportId); String conexion = ConfigurationManager.ConnectionStrings["dbconnection"].ConnectionString; con.ConnectionString = conexion; con.Open(); comando.Connection = con; comando.CommandText = "Insert into Reporte values ('" + embeddingData.reportId + "','" + embeddingData.reportName + "')"; comando.ExecuteNonQuery(); comando.CommandText = "Insert into usuario_reporte values (" + HttpContext.Session["id"] + ",'" + embeddingData.reportId + "')"; comando.ExecuteNonQuery(); return(View(embeddingData)); }
public async Task <ActionResult> Report() { ReportEmbeddingData embeddingData = await PbiEmbeddingManager.GetReportEmbeddingData(); return(View(embeddingData)); }
public async Task <ActionResult> ReportByState() { ReportEmbeddingData embeddingData = await PbiEmbeddedManager.GetReportEmbeddingDataWithStateClaims(); return(View(embeddingData)); }
public async Task <ActionResult> ReportByRole() { ReportEmbeddingData embeddingData = await PbiEmbeddedManager.GetReportEmbeddingDataWithRlsRoles(); return(View(embeddingData)); }