Should I use IActionResult in a get request that returns a json object

前端 未结 0 541
刺人心
刺人心 2021-02-02 07:31

I have an ASP.NET API that goes as following

[HttpGet]
[Route("GetModel")]
public async Model GetModel(string modelId)
{
    return _service.GetModel(mo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题