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)); }
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())); } }