public JsonResult GetbyId(int id) { var model = StoreLogic.GetStoreById(id); return(Json(model, JsonRequestBehavior.AllowGet)); }
// GET: Stores/Delete/5 public ActionResult Delete(int id) { var model = StoreLogic.GetStoreById(id); return(View(model)); }