Example #1
0
 public async Task <ActionResult <SensorResponse> > Post([FromBody] SensorRequest request)
 {
     return(Ok(_converter.ToSensorResponse(await _service.Create(_converter.ToSensorValue(request)))));
 }