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));
        }