예제 #1
0
        public IActionResult Post([FromBody] RequestModel requestModel)
        {
            var filteredShows = _filterService.DoFilter(requestModel?.payload);

            if (filteredShows != null)
            {
                return(Ok(new ResponseModel {
                    response = filteredShows
                }));
            }

            return(BadRequest());
        }