Example #1
0
        private void RunFilterCommand()
        {
            var(instruments, messageToScreen) = InstrumentRepository.GetFilteredInstruments(SelectedInstrumentViewModel.ItemType);

            if (instruments == null)
            {
                MessageToScreen = messageToScreen;
            }
            else
            {
                UpdateInstrument(instruments);
            }
            MessageToScreen = messageToScreen;
        }