示例#1
0
        public RegistrationPage()
        {
            InitializeComponent();

            service = ServiceLocator.Current.GetInstance<RestService>();

            model = ServiceLocator.Current.GetInstance<RegistrationPageModel>();
        }
示例#2
0
        public LoginPage()
        {
            InitializeComponent();

            restService = ServiceLocator.Current.GetInstance<RestService>();

            countryService = ServiceLocator.Current.GetInstance<CountryService>();

            model = ServiceLocator.Current.GetInstance<LoginPageModel>();

            navigatingBack = false;
        }