Ejemplo n.º 1
0
 public static IActionRouteBuilder HttpOptions(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Options));
 }
Ejemplo n.º 2
0
 public static IActionRouteBuilder HttpDelete(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Delete));
 }
Ejemplo n.º 3
0
 public static IActionRouteBuilder HttpGet(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Get));
 }
Ejemplo n.º 4
0
 public static IActionRouteBuilder HttpPatch(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Patch));
 }
Ejemplo n.º 5
0
 public static IActionRouteBuilder HttpHead(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Head));
 }