public bool NextClick(RegistrationPhoneStrings data) { if (PhoneCountryInput(data.PhoneCountry.Trim()) & PhoneNumberInput(data.PhoneNumber.Trim())) { return(true); } return(false); }
public void SaveData(RegistrationPhoneStrings data) { _repository.User.PhoneCountry = data.PhoneCountry; _repository.User.PhoneNumber = data.PhoneNumber; }