예제 #1
0
 public Task <IControllerResponse> Post([FromBody] MyRequest a)
 {
     return(Response.Render(HttpResponseCode.Ok, a));
 }
예제 #2
0
 public Task <IControllerResponse> Post([FromPost("a")] MyRequest request, [FromHeaders("header")] string hello, [FromQuery("query")] string world)
 {
     return(Response.Render(HttpResponseCode.Ok, null));
 }