/// <summary> /// Gets a random Chuck Norris joke from the API. /// </summary> /// <returns>A Joke object representing a random joke.</returns> public async Task <Joke> GetRandomJoke() { string url = $"{BaseUrl}/jokes/random"; return(await client.GetAsync <Joke>(url)); }