Ejemplo n.º 1
0
        public Notification ValidatePhoneNumber(string cellPhoneToValidate)
        {
            ICellPhoneValidator cellPhoneValidator = Account.GetCellPhoneValidator(CurrentCountry);
            Notification        notification       = cellPhoneValidator.ValidateCellPhone(cellPhoneToValidate);

            return(notification);
        }
Ejemplo n.º 2
0
        public string FormatPhoneNumber(string cellPhoneToFormat)
        {
            ICellPhoneValidator cellPhoneValidator = Account.GetCellPhoneValidator(CurrentCountry);

            return(cellPhoneValidator.StandarizePhoneNumber(cellPhoneToFormat));
        }