private void GetValue() { _originalModels = _serverUserAccessService.GetLoginInfoList(); Models.Clear(); _originalModels.ToList().ForEach(Models.Add); SearchValue.Text = string.Empty; }
public LoginsListPage(IServerUserAccessService serverUserAccessService) { _serverUserAccessService = serverUserAccessService; _originalModels = serverUserAccessService.GetLoginInfoList(); Models = new ObservableCollection <LoginViewModel>(_originalModels); InitializeComponent(); }