public static ChangeMunicipalityNisCode WithNisCode( this ChangeMunicipalityNisCode command, NisCode nisCode) { return(new ChangeMunicipalityNisCode(new MunicipalityId(command.MunicipalityId), nisCode, command.Provenance)); }
public static ChangeMunicipalityNisCode WithMunicipalityId( this ChangeMunicipalityNisCode command, MunicipalityId municipalityId) { return(new ChangeMunicipalityNisCode(municipalityId, new NisCode(command.NisCode), command.Provenance)); }