Exemple #1
0
 // PUT api/salestock/5
 public void Put(int id, SaleStockModel m)
 {
     m.SaleStockId = id;
     int i = SaleStockProvider.insertSaleStock(m);
 }
Exemple #2
0
        // POST api/salestock
        public int Post(SaleStockModel m)
        {
            int i = SaleStockProvider.insertSaleStock(m);

            return(i);
        }