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