public void BeforeTest() { _collector = new Collector(); _member = new Member("Jane", "jane", "pw", "../Assets/UP/sansa.jpg"); _loginVm = new LoginVm(); _serializeUserVm = new SerializeUserVm(); _booking = new Booking("Jane", DateTimeOffset.Now, "fitness", "", "anna"); _userbookingVm = new UserBookingView(); Bookings = new ObservableCollection <Booking>(); MembersList = new ObservableCollection <Member>(); }
private void Button_Click(object sender, RoutedEventArgs e) { ser = new SerializeUserVm(); _userSingleton = SingletonMember.GetInstance(); Frame.Navigate(typeof(MainPage), LoadMembers()); }