public async Task <WaitListed> IsWaitListed(int workshopId, string studentId) { TestConnection(); var queryString = "workshopId=" + workshopId + "&studentId=" + studentId; var response = await helpsClient.GetAsync("api/workshop/wait?" + queryString); if (response.IsSuccessStatusCode) { var result = await response.Content.ReadAsAsync <WaitListed>(); return(result); } return(ResponseHelper.CreateWaitListErrorResponse("Request failed")); }