private async Task ResolveContinueAsync(GenericResponse data, NameValueCollection parameters) { if (data.Continue != null) { foreach (KeyValuePair <string, string> contParam in data.Continue) { parameters[contParam.Key] = contParam.Value; } var newData = await ApiCallAsync(parameters, false); data.Update(newData); if (data.Continue != null) { await ResolveContinueAsync(data, parameters); } } }