コード例 #1
0
 public JsonResult Bed([FromBody] JohaModal modal)
 {
     this.HttpContext.Response.StatusCode = 418;
     Console.WriteLine(modal);
     return(Json("sdcsd"));
 }
コード例 #2
0
 public string bad([FromBody] JohaModal modal)
 {
     this.HttpContext.Response.StatusCode = 418;
     Console.Write(modal.name);
     return("sdsd");
 }
コード例 #3
0
 public JsonResult PostJoha([FromBody] JohaModal modal)
 {
     return(Json(modal));
 }