public JsonResult UpdateRecords([FromBody] List <Sensordata> sensorDataList) { return(new JsonResult(_sensorDataService.UpdateMany(sensorDataList))); }