Exemple #1
0
 public IActionResult Update([FromBody] RolGetPutDTO rol)
 {
     this.usuarioService.UpdateRolById(rol);
     return(Ok());
 }
Exemple #2
0
 internal void UpdateRolById(RolGetPutDTO rol)
 {
     Entities.Rol rolEntity = mapper.Map <RolGetPutDTO, Entities.Rol>(rol);
     this.rolDAO.Update(rolEntity);
 }