How to capture the status code of an IActionResult Method return in a variable C#

前端 未结 0 1706
情深已故
情深已故 2021-01-27 08:18

I have the following method:

public IActionResult DoSomeThing()
    {
        try
        {
            Some code...
        }

        catch (Exception)
                 


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