예제 #1
0
        public async Task <IActionResult> FilterParticipatingEvents(
            [FromQuery(Name = "keyword")] string keyword,
            [FromHeader(Name = "userId")] int userId)
        {
            var events =
                await _eventSearchService.FilterParticipatingByKeywordAndUserId(userId,
                                                                                keyword);

            return(Ok(events));
        }