public bool Update(ProductDiscountDTO objectDTO) { throw new NotImplementedException(); }
public ProductDiscount Map(ProductDiscountDTO dto) { if (dto == null) return null; var productDiscount = Mapper.Map<ProductDiscountDTO, ProductDiscount>(dto); productDiscount.Tier = _pricingTierRepository.GetById(dto.TierMasterId); productDiscount.ProductRef = new ProductRef {ProductId = dto.ProductMasterId}; productDiscount.DiscountItems = dto.DiscountItem.Select(n => Map(n, n.MasterId)).ToList(); return productDiscount; }
public Guid Create(ProductDiscountDTO objectDTO) { throw new NotImplementedException(); }