public async Task GetAllBlogs()
        {
            var siteId = await MakeSite().ConfigureAwait(false);

            var blogIds = await PageRepository.GetAllBlogs(siteId).ConfigureAwait(false);

            Assert.IsEmpty(blogIds);
        }
        public async Task GetAllBlogs_WithOneBlog()
        {
            var siteId = await MakeSite().ConfigureAwait(false);

            var blog = await MakeBlog(siteId).ConfigureAwait(false);

            var blogIds = await PageRepository.GetAllBlogs(siteId).ConfigureAwait(false);

            Assert.AreEqual(1, blogIds.Count());
            Assert.Contains(blog.Id, blogIds.ToList());
        }
        public async Task GetAllBlogs_SortOrder()
        {
            var siteId = await MakeSite().ConfigureAwait(false);

            var blog1 = await MakeBlog(siteId, 1).ConfigureAwait(false);

            var blog2 = await MakeBlog(siteId, 3).ConfigureAwait(false);

            var blog3 = await MakeBlog(siteId, 2).ConfigureAwait(false);

            var blogIds = await PageRepository.GetAllBlogs(siteId).ConfigureAwait(false);

            var array = blogIds.ToArray();

            Assert.AreEqual(3, array.Length);
            Assert.AreEqual(blog1.Id, array[0]);
            Assert.AreEqual(blog3.Id, array[1]);
            Assert.AreEqual(blog2.Id, array[2]);
        }