private void SubmitForm()
        {
            var result = MsgBox.Show("Verificati daca datele sunt corecte si confirmati", "Confirmare", MessageBoxButton.OKCancel, MessageBoxImage.Information);

            if (result == MessageBoxResult.OK)
            {
                ProductModel product = new ProductModel
                {
                    Name        = name,
                    Barcode     = barcode,
                    Unit        = unit,
                    RetailPrice = retailPrice,
                    Tax         = tax,
                    Category    = category,
                    Tag1        = tag1,
                    Tag2        = tag2,
                    ExpiryDate  = expiryDate
                };
                var response = productData.AddProduct(product);
                if (response > 0)
                {
                    MsgBox.Show("Produsul a fost adaugat in baza de date!", " ", MessageBoxButton.OK, MessageBoxImage.Information);
                }
                else
                {
                    MsgBox.Show("Produsul nu a fost adaugat din cauza unei erori. Va rog sa incercati!", " ", MessageBoxButton.OK, MessageBoxImage.Error);
                }
                StartupVM.UIDispatcher[nameof(AddProductVM)].CloseUI();
            }
        }