public ActionResult DeleteBookInfo() { int id = int.Parse(Request["id"]); bool b = booksDAL.DeleteEntityModel(id) > 0; if (b) { return(Content("ok")); } else { return(Content("no")); } }