Exemplo n.º 1
0
        public IActionResult AddSensorData([FromBody] SensorData newData)
        {
            if (newData == null)
            {
                return(BadRequest());
            }

            string response = Manager.AddData(newData);

            return(Ok(response));
        }