diff --git a/src/EventHub.HttpApi.Host/Controllers/Events/EventController.cs b/src/EventHub.HttpApi.Host/Controllers/Events/EventController.cs index b1f6e34..539e5ed 100644 --- a/src/EventHub.HttpApi.Host/Controllers/Events/EventController.cs +++ b/src/EventHub.HttpApi.Host/Controllers/Events/EventController.cs @@ -69,6 +69,13 @@ namespace EventHub.Controllers.Events await _eventAppService.UpdateAsync(id, input); } + [HttpPost] + [Route("{id}/sessions")] + public async Task AddSessionAsync(Guid id, AddSessionDto input) + { + await _eventAppService.AddSessionAsync(id, input); + } + [HttpGet] [Route("cover-image/{id}")] public async Task GetCoverImageAsync(Guid id)