Non-invocable member 'NotFound' cannot be used like a method.
I am trying to make an API
and I'm getting the error in the title in the GET {id} method and NotFound() is (quite funnily) not found. Is this an error with my ASP.NET install or something I'm doing wrong?
2 Replies