Пример #1
0
        public async Task <IActionResult> CreateEvent(CreateEventDto input)
        {
            try
            {
                var eventModel = await _eventAppService.CreateEvent(input);

                return(Ok(eventModel));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }