I notice that there are a bunch of similar questions out there about this topic.
I\'m getting this error when calling any of the methods below.
In my case [HttpPost("[action]")] was written twice.
[HttpPost("[action]")]