public ActionResult <List <Book> > DeleteByIndex(int index)
        {
            List <Book> booksList = _service.DeleteByIndex(index);


            if (booksList.Count == 0)
            {
                return(NotFound());
            }

            return(booksList);
        }