Beispiel #1
0
        public ActionResult AddDepot(depot AddData)
        {
            var Flag = new DepotBll().Add(AddData) != 0;

            return(Content(Flag.ToString()));
        }
Beispiel #2
0
        public ActionResult GetSelectDepot(int id)
        {
            var MaxNum = new DepotBll().SelectList().Where(i => i.ProductId == id).First().stock;

            return(Content(MaxNum.ToString()));
        }