public static CustomerDeliveryAdresses CreateInstance(PreAbonnementProdukt preAbonnement)
 {
     return(new CustomerDeliveryAdresses()
     {
         Adress = preAbonnement.Adresser.Adresse,
         AdressId = preAbonnement.AddressId,
         City = preAbonnement.Adresser.City,
         PostalCode = preAbonnement.Adresser.PostNr,
         DeliveryWeeks = new List <CustomerDeliveryWeek>()
         {
             CustomerDeliveryWeek.CreateInstance(preAbonnement)
         }
     });
 }
 public static CustomerDeliveryAdresses CreateInstance(LeveringsProdukt levering)
 {
     return(new CustomerDeliveryAdresses()
     {
         Adress = levering.TurLevering.Adresser.Adresse + " " + levering.TurLevering.Adresser.Etage,
         AdressId = levering.TurLevering.AdresseId,
         City = levering.TurLevering.Adresser.City,
         PostalCode = levering.TurLevering.Adresser.PostNr,
         DeliveryWeeks = new List <CustomerDeliveryWeek>()
         {
             CustomerDeliveryWeek.CreateInstance(levering)
         }
     });
 }