Class HttpDeleteAttribute
use this attribute to specify a DELETE route for an endpoint
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class HttpDeleteAttribute : HttpAttribute
Constructors
HttpDeleteAttribute(params string[])
use this attribute to specify a DELETE route for an endpoint
Declaration
public HttpDeleteAttribute(params string[] routes)
Parameters
Type | Name | Description |
---|---|---|
string[] | routes | the routes for the endpoint |