public async Task <IEnumerable <Book> > GetAllBooks()
        {
            List <BookMsSql> BookList = await db.Books.ToListAsync();

            if (BookList != null)
            {
                MsSqlDataConvert.InitData(BookList);
                result = MsSqlDataConvert.GetIEnumerubleDbResult();
            }
            return(result);
        }
        public async Task <IEnumerable <Author> > GetAllAuthors()
        {
            var builder = Builders <AuthorMongoDb> .Filter;
            var filters = new List <FilterDefinition <AuthorMongoDb> >();
            List <AuthorMongoDb> CollectionResult = await db.Authors.Find(builder.Empty).ToListAsync();

            if (CollectionResult != null)
            {
                mongoDbDataConvert.InitData(CollectionResult);
                result = mongoDbDataConvert.GetIEnumerubleDbResult();
            }
            return(result);
        }
        public async Task <IEnumerable <Author> > GetAllAuthors()
        {
            List <AuthorMsSql> AuthorList = await db.Authors.ToListAsync();

            if (AuthorList != null)
            {
                MsSqlDataConvert.InitData(AuthorList);
                result = MsSqlDataConvert.GetIEnumerubleDbResult();
            }
            return(result);
        }