コード例 #1
0
        public int AddProduct(Product p)
        {
            // TODO : ajouter des contrôles sur le produit (exemple : vérification de champ, etc.)
            ProductCommand pc = new ProductCommand(context);

            return(pc.Add(p));
        }
コード例 #2
0
ファイル: BusinessManager.cs プロジェクト: jkermes/XProducts
        public int AddProduct(Product p)
        {
            ProductCommand pc = new ProductCommand(context);

            return(pc.Add(p));
        }