public void Load(IEnumerable <OfferUnit> units, OfferWrapper offerWrapper, IUnitOfWork unitOfWork, bool isNew)
 {
     Load(units, unitOfWork, isNew);
     _offerWrapper = offerWrapper;
     if (isNew)
     {
         Groups.ForEach(x => x.Offer = offerWrapper);
     }
 }
示例#2
0
 public Offer ApiToDomain(OfferWrapper value)
 {
     return(ApiToDomain(value?.Offer));
 }
 internal static Offer ToDomain(this OfferWrapper value)
 {
     return(s_offerMapper.ApiToDomain(value));
 }