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)); }
public async Task RespondEventAsync(SsoToken token, int eventId, V3CalendarResponse response) { await _internalLatestCalendar.RespondEventAsync(token, eventId, response); }
public void RespondEvent(SsoToken token, int eventId, V3CalendarResponse response) { _internalLatestCalendar.RespondEvent(token, eventId, response); }