public MarketPageUserViewModel() { usersLogic = UsersLogic.GetInstance(); historiesLogic = HistoriesLogic.GetInstance(); Condition = "Visible"; FullName = usersLogic.GetFullName(); Checks = new ObservableCollection <Check>(historiesLogic.GetChecks(UsersLogic.GetId())); SeeCheck = new RelayCommand <int>(ThisCheck); ProductsLogic.GetInstance(); }
private void WaitingUpdate() { Task.Run(() => { while (editUserViewModel.Condition == "Visible") { ; } FullName = usersLogic.GetFullName(); }); }