public ActionResult <List <DHT> > GetMotionSensors() { List <MotionSensor> motionSensors = _boxRepository.GetMotionSensors(); return(Json(motionSensors)); }