private async void LoginCommandExecute() { var login = new DeviceUid_Uwp().GetIdentifier(); // Calculate login var password = ""; var loginRepsonse = await App.QbProvider.LoginWithLoginValueAsync(login, password, Quickblox.Sdk.GeneralDataModel.Models.Platform.windows_phone, login); if (loginRepsonse > 0) { var updateUserRequest = new UserRequest(); updateUserRequest.TagList = Group; var updateUserResponse = await App.QbProvider.UpdateUserDataAsync(App.QbProvider.UserId, updateUserRequest); if (updateUserResponse != null) { App.NavigationFrame.Navigate(typeof(ChatsPage)); } } }
private async void LoginCommandExecute() { var login = new DeviceUid_Uwp().GetIdentifier(); // Calculate login var password = ""; var loginRepsonse = await App.QbProvider.LoginWithLoginValueAsync(login, password, Quickblox.Sdk.GeneralDataModel.Models.Platform.windows_phone, login); if (loginRepsonse > 0) { var updateUserRequest = new UserRequest(); updateUserRequest.TagList = Group; var updateUserResponse = await App.QbProvider.UpdateUserDataAsync(App.QbProvider.UserId, updateUserRequest); if (updateUserResponse != null) { App.NavigationFrame.Navigate(typeof(ChatsPage)); } } }