Ejemplo n.º 1
0
 public BasketInRecipt(ReceiptData recipt, int reciptID, ICollection <ProductData> products) : base(products)
 {
     this.recipt   = recipt ?? throw new ArgumentNullException(nameof(recipt));
     this.reciptID = reciptID;
 }
Ejemplo n.º 2
0
 public bool Equals(ReceiptData other)
 {
     return(this.receiptID == other.receiptID);
 }