public JsonResult GetComments(int id)
        {
            var consulta = new MethodsBooks();
            var res      = consulta.GetBookComment(id);

            return(new JsonResult(res));
        }
        public bool Comment([FromForm] int id_user, [FromForm] int id_book, [FromForm] string content)
        {
            var consulta = new MethodsBooks();
            var res      = consulta.Comment(id_user, id_book, content);

            return(res);
        }
        public JsonResult GetBooks()
        {
            var consulta = new MethodsBooks();
            var res      = consulta.GetAllBooks();

            return(new JsonResult(res));
        }