Пример #1
0
 public ActionResult GetReport()
 {
     System.Web.Routing.RouteValueDictionary routeValues = StiMvcViewer.GetRouteValues();
     if (routeValues["id"] != null)
     {
         var reportId = Guid.Parse(routeValues["id"].ToString());
     }
     else
     {
         throw new Exception("no id");
     }
     return(StiMvcViewer.GetReportResult(new StiReport()));
 }