示例#1
0
 public IActionResult PostFormData([FromForm] SampleModel model)
 => Ok(model);
示例#2
0
 public IActionResult PostJson(SampleModel model)
 => Ok(model);