public Notification ValidatePhoneNumber(string cellPhoneToValidate) { ICellPhoneValidator cellPhoneValidator = Account.GetCellPhoneValidator(CurrentCountry); Notification notification = cellPhoneValidator.ValidateCellPhone(cellPhoneToValidate); return(notification); }
public string FormatPhoneNumber(string cellPhoneToFormat) { ICellPhoneValidator cellPhoneValidator = Account.GetCellPhoneValidator(CurrentCountry); return(cellPhoneValidator.StandarizePhoneNumber(cellPhoneToFormat)); }