コード例 #1
0
        public OkObjectResult Post([FromBody] List <SeriesModel.Series> ts, DateTime t1, DateTime t2)
        {
            var seriesdataProcessor = new DataAccessLayer.SeriesDataRepository();

            return(Ok(seriesdataProcessor.GetSeriesData(ts[0], t1, t2)));
        }
コード例 #2
0
        public OkObjectResult Delete([FromBody] List <SeriesDataModel.TimeSeriesData> ts)
        {
            var seriesdataProcessor = new DataAccessLayer.SeriesDataRepository();

            return(Ok(seriesdataProcessor.DeleteSeriesData(ts)));
        }
コード例 #3
0
        public OkObjectResult Get(string tstable, DateTime t1, DateTime t2)
        {
            var seriesdataProcessor = new DataAccessLayer.SeriesDataRepository();

            return(Ok(seriesdataProcessor.GetSeriesData(tstable, t1, t2)));
        }