public RegistrationPage() { InitializeComponent(); service = ServiceLocator.Current.GetInstance<RestService>(); model = ServiceLocator.Current.GetInstance<RegistrationPageModel>(); }
public LoginPage() { InitializeComponent(); restService = ServiceLocator.Current.GetInstance<RestService>(); countryService = ServiceLocator.Current.GetInstance<CountryService>(); model = ServiceLocator.Current.GetInstance<LoginPageModel>(); navigatingBack = false; }