Example #1
0
        private void DoSearch()
        {
            try
            {
                var search = searchTextBox.Text;
                if (string.IsNullOrEmpty(search))
                {
                    return;
                }

                var searchViewModel = taskController.GetSearchViewModel(search);
                taskResultView.Search(searchViewModel);
            }
            catch (Exception ex)
            {
                logger.Error("  DoSearch", ex);
            }
        }