public Validation <Error, CreateEntityTypeCommand> ValidateCreateEntityTypeCommand(CreateEntityTypeCommand cmd) => from x in ValidateNonNull(cmd) from y in (ValidateEntityTypeName(x.Name),
public Try <Validation <Error, EntityTypeDto> > Execute(CreateEntityTypeCommand cmd) => () => from x in ValidateCreateEntityTypeCommand(cmd) let y = CreateEntityTypeFrom(cmd) let z = repository.Create(y) select z.ToTipoEntidadDTO();