Ejemplo n.º 1
0
        public JsonResult GetbyId(int id)
        {
            var model = StoreLogic.GetStoreById(id);

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

            return(View(model));
        }