public static CustomerDeliveryWeek CreateInstance(PreAbonnementProdukt preAbonnement)
 {
     return(new CustomerDeliveryWeek()
     {
         Week = Helpers.TimeTool.GetWeekNumber(preAbonnement.StartDate),
         DeliverDates = new List <CustomerDeliverDates>()
         {
             CustomerDeliverDates.CreateInstance(preAbonnement)
         }
     });
 }
 public static CustomerDeliveryWeek CreateInstance(LeveringsProdukt levering)
 {
     return(new CustomerDeliveryWeek()
     {
         Week = levering.TurLevering.Ture.Week,
         DeliverDates = new List <CustomerDeliverDates>()
         {
             CustomerDeliverDates.CreateInstance(levering)
         }
     });
 }