public async Task <IActionResult> GetAllSensorData()
 {
     return(Ok(await _repository.GetAllSensorDataAsync()));
 }