Пример #1
0
 public void Post([FromBody] Sensor sensor)
 {
     var  sensorService = new SensorApi.Services.SensorService();
     Task task          = sensorService.SaveSensor(sensor);
 }
Пример #2
0
        public ActionResult <System.Collections.Generic.List <SensorAggregation> > Aggregation()
        {
            var sensorService = new SensorApi.Services.SensorService();

            return(sensorService.GetSensorAggregation());
        }