public ActionResult DeleteConfirm(int id) { ResultResponse result = SouvenirRepo.Delete(id); if (result.Success) { return(Json(new { success = result.Success, message = result.Message }, JsonRequestBehavior.AllowGet)); } else { return(Json(new { success = false, message = result.Message }, JsonRequestBehavior.AllowGet)); } }