Ejemplo n.º 1
0
 public bool PhoneCountryInput(string phoneCountry)
 {
     if (_validation.CheckPhoneCountry(phoneCountry))
     {
         Presenter?.SetPhoneCountryState(EState.Success);
         return(true);
     }
     Presenter?.SetPhoneCountryState(EState.Fail);
     return(false);
 }
Ejemplo n.º 2
0
 public void TestPhoneCountry(string phoneCountry, bool isValid)
 {
     Assert.AreEqual(isValid, _validation.CheckPhoneCountry(phoneCountry));
 }