private bool TryPhoneActivation() { IActivateResponse activateResponse = this.dataRepository.TryPhoneActivation((IList <PhoneActivationData>) this.ActivationInfo.ValidationIds); LicensingDialogHelper.ShowErrorMessageFromResponse((ILicenseSubServiceResponse)activateResponse, this.services.GetService <IMessageDisplayService>()); return(activateResponse.ActivationStatus != ActivationStatus.Failed); }
private void ShowMessageOnError(IActivateResponse activateResponse) { if (activateResponse.ActivationStatus != ActivationStatus.Failed) { return; } LicensingDialogHelper.ShowErrorMessageFromResponse((ILicenseSubServiceResponse)this.internetActivationResponse, this.services.GetService <IMessageDisplayService>()); }