Example #1
0
        // PUT api/stockdetails/5
        public int Put(int id, StockModel m)
        {
            m.StockId = id;
            int i = StockDetailProvider.insertStock(m);

            return(i);
        }
Example #2
0
 // POST api/stockdetails
 public void Post(StockModel s)
 {
     int i = StockDetailProvider.insertStock(s);
 }