public static async Task <Challenge> getChallengeQuestion(User user) { string route = !String.IsNullOrEmpty(user.id) ? APIRoutes.challengeQuestionWithUserIdRoute(user.id) : APIRoutes.challengeQuestionWithExternalIdRoute(user.external_id); SMResponse m = await AsyncClient.get(route); return(m == null ? null : m.challenge); }