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