private void RefreshRequest() { if (_requestService == null) { _requestService = new RequestServiceImpl.RequestService(AppSettings.DbConnection); } RequestList.Clear(); var requests = _requestService.GetDispexRequests(); foreach (var request in requests) { RequestList.Add(request); } RequestCount = RequestList.Count; OnPropertyChanged(nameof(RequestList)); }