public ChartDataList Get()
        {
            string conn = ConfigurationManager.ConnectionStrings["LOCALDB"].ConnectionString;
            var db = new DAL.CaptureDbTest(conn);
            DataTable dt = db.ReturnLagTestData();

            ChartDataList chartDataList = new ChartDataList();
            chartDataList.AddLagTestData(dt, "Lag Tests");

            return chartDataList;
        }
       // [EnableCors(origins: "http://localhost:3328", headers: "*", methods: "*")]
        public ChartDataList Get()
        {
            string conn = ConfigurationManager.ConnectionStrings["LOCALDB"].ConnectionString;
            var db = new DAL.CaptureDbTest(conn);
            DataTable settingTypes = db.ReturnSettingTypes();

            ChartDataList chartDataList = new ChartDataList();

            foreach(DataRow dr in settingTypes.Rows)
            {
                DataTable dt = db.ReturnTestConfusionData(dr.Field<int>("settingTypeId"));
                if(dt.Rows.Count > 0)
                {
                chartDataList.AddMotionTestData(dt, dr["settingTypeName"].ToString().ToTitleString());
                }
            }

            return chartDataList;
        }