Beispiel #1
0
 private ParcelLocker(ParcelLockerLocalization localization,
                      List <Parcel> parcels)
 {
     Id           = Guid.NewGuid();
     Localization = localization;
     Parcels      = parcels;
     CreateDate   = DateTime.Now;
     UpdateDate   = null;
 }
Beispiel #2
0
 public static ParcelLocker Create(ParcelLockerLocalization localization, List <Parcel> parcels)
 => new ParcelLocker(localization, parcels);