コード例 #1
0
 public IActionResult Put([FromBody] ActorPersonDto entity)
 {
     return(Ok(repository.Update(entity)));
 }
コード例 #2
0
 public IActionResult Post([FromBody] ActorPersonDto entity)
 {
     return(Ok(repository.Insert(entity)));
 }