Пример #1
0
 public IActionResult Put([FromBody] CoreActorIncidentDto entity)
 {
     return Ok(repository.Update(entity));
 }
Пример #2
0
 public IActionResult Post([FromBody] CoreActorIncidentDto entity)
 {
     return Ok(repository.Insert(entity));
 }