/// <summary> /// Begin a new asynchronous ListChallengeTypeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public async Task <ListChallengeTypeResponse> ListChallengeTypeRequestAsync(ListChallengeTypeRequest requestData) { var res = await Requestor.PostStringAsync(Urls.ListChallengeTypeRequest, JsonHelper.SerializeData(requestData)); return(JsonConvert.DeserializeObject <ListChallengeTypeResponse>(res.ResponseJson)); }
/// <summary> /// Begin a new ListChallengeTypeRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public ListChallengeTypeResponse ListChallengeTypeRequest(ListChallengeTypeRequest requestData) { return(JsonConvert.DeserializeObject <ListChallengeTypeResponse>(Requestor.PostString(Urls.ListChallengeTypeRequest, JsonHelper.SerializeData(requestData)).ResponseJson)); }