Beispiel #1
0
        public void PendingBlogApproval()
        {
            List <BlogEntry> pendingQueue = bops.GetUnapprovedPosts();

            foreach (var blog in pendingQueue)
            {
                Assert.AreEqual(blog.IsApproved, false);
            }
        }
Beispiel #2
0
        public ActionResult ApproveBlogEntries()
        {
            List <BlogEntry> pendingEntries = blops.GetUnapprovedPosts();

            return(View(pendingEntries));
        }