Closed AnthonySteele closed 10 years ago
Hm, a [HttpMethod(HttpMethod.Put)]
attribute is also possible instead of, or as well as this. I was following in existing pattern but both will work fine.
.. though APi support for Put and Delete is still experimental, it has not yet been verified to work..
Add HttpPut and HttpDelete attributes and code to handle them when they are applied to endpoint DTOs All the attributes target classes, i.e. [AttributeUsage(AttributeTargets.Class)]