Beispiel #1
0
        public IHttpActionResult GetChartData(string categoryName, string reportName, string chartName)
        {
            ReportsRepository reportRepo = new ReportsRepository();
            var reportChart = reportRepo.GetChartByName(categoryName, reportName, chartName);

            if (reportChart == null)
            {
                return(NotFound());
            }

            return(Ok(reportChart));
        }