示例#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));
 }