Example #1
0
 public void Scan(string[] ProductNames)
 {
     foreach (var productName in ProductNames)
     {
         ScannedProducts.Add((Product)registeredProducts.First(p => p.ProductName == productName).Clone());
     }
 }
Example #2
0
 public void Scan(string ProductName)
 {
     ScannedProducts.Add((Product)registeredProducts.First(p => p.ProductName == ProductName).Clone());
 }