public JsonResult DeleteRecord([FromBody] Sensordata sensordata) { return(new JsonResult(_sensorDataService.Delete(sensordata))); }