示例#1
0
        // PUT api/dealer/5
        public int Put(int id, DealerModel model)
        {
            model.Dealer_ID = id;
            int i = DealerProvider.insertDealer(model);

            return(i);
        }
示例#2
0
        // POST api/dealer
        public int Post(DealerModel model)
        {
            int i = DealerProvider.insertDealer(model);

            return(i);
        }