예제 #1
0
 public IActionResult Get([FromQuery] TopicSearch query)
 => Ok(_getCommand.Execute(query));
예제 #2
0
        // GET: Topics
        public ActionResult Index(TopicSearch search)
        {
            var result = _getCommand.Execute(search);

            return(View(result));
        }