如果你要在一個控制器混用MVC 與Web API 的話,請繼承Controller 類別 ... [HttpGet("{id}")] public IActionResult Get(int id) { return ...
確定! 回上一頁