public async Task <bool> LoadDeviceSettingInfoAsync() { if (this.DeviceSettingInfo == null) { this._DeviceSettingInfo = new DeviceSettingInfo(); } using (var proxy = new MogamiApiServiceClient()) { await proxy.LoginAsync(); var rsp = await proxy.LoadDeviceSettingAsync(); if (rsp.Data != null) { JsonConvert.PopulateObject(rsp.Data, this.DeviceSettingInfo); } LoadedDeviceSetting(); } return(true); }