public Price ToEntity() { var price = new Price { Value = this.Value, IsTaxIncluded = this.IsTaxIncluded, TaxRate = this.TaxRate, Currency = this.Currency, ProductId = this.ProductId }; return price; }
public bool TryAddPrice(Price price) { priceRepository.Add(price); return true; }