public IActionResult Put([FromBody] ActorPersonDto entity) { return(Ok(repository.Update(entity))); }
public IActionResult Post([FromBody] ActorPersonDto entity) { return(Ok(repository.Insert(entity))); }