public async Task RespondEventAsync(SsoToken token, int eventId, V3CalendarResponse response) { StaticMethods.CheckToken(token, CalendarScopes.esi_calendar_respond_calendar_events_v1); EsiV3CalendarResponse esiResponse = _mapper.Map <EsiV3CalendarResponse>(response); string jsonResponse = JsonConvert.SerializeObject(esiResponse); string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.CalendarV3EventResponse(token.CharacterId, eventId), _testing); await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.PutAsync(StaticMethods.CreateHeaders(token), url, jsonResponse)); }