Example #1
0
        public JsonResult GetbyId(int id)
        {
            var model = StoreLogic.GetStoreById(id);

            return(Json(model, JsonRequestBehavior.AllowGet));
        }
Example #2
0
        // GET: Stores/Delete/5
        public ActionResult Delete(int id)
        {
            var model = StoreLogic.GetStoreById(id);

            return(View(model));
        }