public ClaimsViewModel Editar(ClaimsViewModel claimViewModel) { var claims = Mapper.Map <EditarClaimsCommand>(claimViewModel); var claimsRetorno = _claimsService.Editar(claims); if (claimsRetorno.ValidationResult.IsValid) { _unitOfWork.Commit(); } claimViewModel = Mapper.Map <ClaimsViewModel>(claimsRetorno); return(claimViewModel); }