コード例 #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));
        }