Exemplo n.º 1
0
        public async Task <IActionResult> GetExhibitorsByEventId(int eventId)
        {
            try
            {
                var exhibitors = await _exhibitorService.GetExhibitorsByEventId(eventId);

                return(Ok(exhibitors));
            }
            catch
            {
                return(BadRequest());
            }
        }