Exemple #1
0
        async void RegisterProcedure(object sender, EventArgs e)
        {
            NewUser newUser = new NewUser(Entry_Username.Text,
                                          Entry_Password.Text,
                                          Entry_Password2.Text,
                                          Entry_Email.Text,
                                          Entry_Location.Text,
                                          Entry_Contact.Text,
                                          Entry_ProfileName.Text);
            await service.CreateNewUser(newUser);

            Application.Current.MainPage = new LoginPage();
        }