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