Class RoutePostAttribute
Represents a mapping to an HTTP POST route. This attribute is an shorthand from RouteAttribute.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class RoutePostAttribute : RouteAttribute
- Inheritance
-
RoutePostAttribute
- Inherited Members
Constructors
- RoutePostAttribute()
Creates an new RoutePostAttribute attribute instance with an root path (/).
- RoutePostAttribute(string)
Creates an new RoutePostAttribute attribute instance with given path.