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))); }
public OkObjectResult Delete([FromBody] List <SeriesDataModel.TimeSeriesData> ts) { var seriesdataProcessor = new DataAccessLayer.SeriesDataRepository(); return(Ok(seriesdataProcessor.DeleteSeriesData(ts))); }
public OkObjectResult Get(string tstable, DateTime t1, DateTime t2) { var seriesdataProcessor = new DataAccessLayer.SeriesDataRepository(); return(Ok(seriesdataProcessor.GetSeriesData(tstable, t1, t2))); }