public static void PushToDatabase(FromFileToStruct.Product newProduct)
 {
     CompWebService.WebServiceSoapClient client = new CompWebService.WebServiceSoapClient();
     MessageBox.Show(newProduct.name + " " + newProduct.price.ToString() + " " + newProduct.date + " " + newProduct.shop);
     client.AddNewProductToDatabase(newProduct.name, newProduct.price, newProduct.date, newProduct.shop);
     //client.test();
 }
 public static void RequestForDatabase(FromFileToStruct.Product unknownProduct)
 {
     //MessageBox.Show("Product with a name of: " + unknownProduct.name + " has been found it will be added to database");
     AddToDatabase.PushToDatabase(unknownProduct);
 }