public static GemeenteStatus ConvertFromMunicipalityStatus(this MunicipalityStatus status)
        {
            switch (status)
            {
            case MunicipalityStatus.Retired:
                return(GemeenteStatus.Gehistoreerd);

            default:
            case MunicipalityStatus.Current:
                return(GemeenteStatus.InGebruik);
            }
        }
 private void When(MunicipalityBecameCurrent @event)
 {
     MunicipalityStatus = MunicipalityStatus.Current;
 }
 private void When(MunicipalityWasRetired @event)
 {
     MunicipalityStatus = MunicipalityStatus.Retired;
 }