private Validation <Error, UpdateEntityTypeCommand> ValidateUpdateEntityTypeCommand(UpdateEntityTypeCommand cmd) => from x in ValidateNonNull(cmd) from y in (
public Try <Validation <Error, EntityTypeDto> > Execute(UpdateEntityTypeCommand cmd) => () => from x in ValidateUpdateEntityTypeCommand(cmd) let y = CreateEntityTypeFrom(x) let z = repository.Update(y) select z.ToTipoEntidadDTO();