public string Post(JsonLocationSensor jsonLocationSensor) { try { LocationSensorDAO.InitializeInsertLocationSensor(jsonLocationSensor); } catch (Exception ex) { } return("LocationSensor"); }
public ActionResult Index() { List <LocationSensor> locationSensor = LocationSensorDAO.InitializeGetLocationSensor(); return(View(locationSensor)); }