void RegisterClickHandler(object sender, EventArgs e) { var user = new User (); var registerPage = new UserPage (true); registerPage.BindingContext = user; Navigation.PushAsync (registerPage); }
void LoginClickHandler(object sender, EventArgs e) { var user = new User (); var page = new LoginPage (); page.BindingContext = user; Navigation.PopAsync (); Navigation.PushAsync (page); }
public Task SaveUserAsync(User item, bool isNewItem = false) { return soapService.SaveUserAsync (item, isNewItem); }
public User GetValidUser(User user) { return soapService.GetValidUserAsync(user); }
public Task DeleteUserAsync(User item) { return soapService.DeleteUserAsync (item.ID); }