7digital / SevenDigital.Api.Wrapper

A fluent c# wrapper for the 7digital API
MIT License
16 stars 29 forks source link

Add HttpPut and HttpDelete attributes #133

Closed AnthonySteele closed 10 years ago

AnthonySteele commented 10 years ago

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)]

AnthonySteele commented 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.

AnthonySteele commented 10 years ago

.. though APi support for Put and Delete is still experimental, it has not yet been verified to work..