Beispiel #1
0
        /// <summary>
        /// Search Button Click event handler.
        /// </summary>
        /// <param name="sender">Sender object.</param>
        /// <param name="e">EventArgs object.</param>
        private void buttonSearch_Click(object sender, EventArgs e)
        {
            string keyWord = textboxSearch.Text;
            UserInfoSearchCriteria searchCriteria = getSearchCriteriaFromComboBox();

            _userAccountPresenter.SearchUser(
                searchCriteria,
                keyWord);
        }
Beispiel #2
0
 /// <summary>
 /// Search for User Accounts
 /// </summary>
 /// <param name="searchCriteria">Search Criteria.</param>
 /// <param name="keyWord">Search key word.</param>
 public void SearchUser(UserInfoSearchCriteria searchCriteria, string keyWord)
 {
     _userAccountModel.SearchUser(searchCriteria, keyWord);
 }