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