public async Task <ActionResult> UpdateDevice(DeviceDTO device) { try { await _deviceHandler.UpdateDevice(device); return(Ok()); } catch (Exception ex) { return(new StatusCodeResult(StatusCodes.Status500InternalServerError)); } }
public void UpdateController(float a_fDeltaTime) { Device.UpdateDevice(); }