public JsonResult Delete(string BookId) { try { Models.BookServices bookService = new Models.BookServices(); bookService.DeleteBookById(BookId); return(this.Json(true)); } catch (Exception ex) { return(this.Json(false)); } }