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