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