Exemplo n.º 1
0
        public ActionResult AddBox(string code, string name, decimal price, decimal bookprice, int type)
        {
            BOX box = RemotingHelp.GetModelObject <BOX>();

            return(Json(
                       box.AddBox(code, name, price, bookprice, type),
                       JsonRequestBehavior.AllowGet
                       ));
        }