public async Task <IActionResult> CreateVideoEvent(ConferenceEventRequest request) { _logger.LogDebug("CreateVideoEvent"); try { await _testApiClient.CreateEventAsync(request); return(NoContent()); } catch (TestApiException e) { _logger.LogError(e, "Unable to create event: {eventType}", request.EventType); return(StatusCode(e.StatusCode, e.Response)); } }