コード例 #1
0
        public ActionResult ShoppingCart(int factorId)
        {
            D_APIModelFiller DMF = new D_APIModelFiller();
            var model            = new ShoppingCartModelView()
            {
                FactorModel = DMF.shoppingCart(factorId),
                Ostan       = DMF.Ostanha()
            };

            return(View(model));
        }
コード例 #2
0
        public ActionResult City(string Cat, int Id = 0)
        {
            D_APIModelFiller DMF = new D_APIModelFiller();

            if (Cat == "City")
            {
                return(Json(DMF.City(Id)));
            }
            else
            {
                return(Json(DMF.Ostanha()));
            }
        }