public ActionResult <string> PostFromForm([FromForm] DemoModel value) { return(value.Title); }
public JsonResult PostFromBody([FromBody] DemoModel value) { return(new JsonResult(value)); }