private async void SearchRepositoriesTextBox_KeyUp(object sender, KeyRoutedEventArgs e) { if (string.IsNullOrWhiteSpace(SearchRepositoriesTextBox.Text)) { return; } App.Store.Dispatch(await ActionCreators.SearchRepositories(SearchRepositoriesTextBox.Text)); }
private async void SearchButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { await App.Store.Dispatch(ActionCreators.SearchRepositories(SearchRepositoriesTextBox.Text)); }