Пример #1
0
 public static IActionRouteBuilder HttpOptions(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Options));
 }
Пример #2
0
 public static IActionRouteBuilder HttpDelete(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Delete));
 }
Пример #3
0
 public static IActionRouteBuilder HttpGet(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Get));
 }
Пример #4
0
 public static IActionRouteBuilder HttpPatch(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Patch));
 }
Пример #5
0
 public static IActionRouteBuilder HttpHead(
     this IActionRouteBuilder builder)
 {
     return(builder.HttpMethod(HttpMethods.Head));
 }