private void CreateNewPlat() { Produit produit = new Produit(0, _dateEffet, _dateFin, _selectedCategory, _nom, _observation); try { _produitBusiness.AddProduit(produit); } catch (Exception ex) { DialogService.ShowErrorWindow(ex.Message); } }