Example #1
0
 public PageResult OnPostClick()
 {
     _logger.LogDebug("SearchModel::OnPostClick");
     jokes = WebStuff.SearchJoke(term);
     return(Page());
 }
Example #2
0
 public void OnGet()
 {
     recentJoke = WebStuff.RandomJoke();
     _logger.LogDebug($"RandomModel::OnGet {recentJoke}");
 }