Validation <Error, UpdateRoleCommand> ValidateUpdateMsg(UpdateRoleCommand msg) => from x in ValidateNonNull(msg) from y in (
public Try <Validation <Error, RoleDto> > Execute(UpdateRoleCommand msg) => () => from x in ValidateUpdateMsg(msg) // validaciones antes let y = x.ToRole() let z = _rRepository.Update(y) // otras funciones despues select z.ToRoleDTO();