private async void PhoneSubmitAction() { if (string.IsNullOrWhiteSpace(RollNo)) { _dialog.ShowToastMessage("Invalid Roll Number"); } else if (string.IsNullOrWhiteSpace(PhoneNo)) { _dialog.ShowToastMessage("Invalid Mobile Number"); } var response = await _memberHandler.VerifyPhoneNo(RollNo, PhoneNo); if (response != null && response.Actionstatus) { RegistrationState = RegistrationState.Mobile; try { _platformService.VerifyPhoneNumber(PhoneNo, VerifyOtpCommand, VerifyFailedCommand, CodeSentCommand, VerifyAuthCommand); } catch (Exception ex) { LogEngine.Error(ex); } } else { _dialog.ShowMessage("Error", response?.Message); } }