예제 #1
0
        public JsonResult GetStores()
        {
            var model = StoreLogic.GetAllStores();

            return(Json(model, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        // GET: Stores
        public ActionResult Index()
        {
            var model = StoreLogic.GetAllStores();

            return(View(model));
        }