public List <Book> GetFilteredBooks(Filter filter)
        {
            var query = context.Books.Include(b => b.Author).AsQueryable();

            query = filter.AddBookFilters(query);
            return(query.ToList());
        }