private void ModifyRSList(ListModificationPayload payload)
        {
            switch (payload.Action)
            {
            case "add":
                RecordSearches.Add(_rss.GetRecordSearchByID(payload.ID));
                break;

            case "delete":
                RecordSearches.RemoveAll(rs => rs.ID == payload.ID);
                break;
            }
            RecordSearchesView.Refresh();
        }
        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            _isLoaded = false;
            _journal  = navigationContext.NavigationService.Journal;
            int rsID = (int)navigationContext.Parameters["id"];

            if (rsID > 0)
            {
                _rss.GetRecordSearchByID(rsID, true);
                RecordSearch        = _rss.CurrentRecordSearch;
                RecordSearch.Status = RecordSearch.CalculateStatus();

                //Sets the Dropdown menu for requestor and client
                SelectedRequestor = RecordSearch.RequestorID;
                SelectedClient    = RecordSearch.ClientID;

                _isLoaded = true;
                _ea.GetEvent <RSEntryChangedEvent>().Publish();
            }
        }