更新时间:2023-02-13 08:00:50
您不在控制器中使用这些方法。你的控制器提供那些方法!你必须编写决定这些方法的代码。
说真的,拿起一本关于MVC和Web API的书。
You don't use those methods in your controller. Your controller PROVIDES those methods! You have to write the code that determines what those methods are going to do.
Seriously, pick up a book on MVC and Web API.