예제 #1
0
 public ActionResult UnapprovedPosts()
 {
     var manager = new BlogManager();
     var data = manager.GetAllUnapprovedPosts().Data;
     return View(data);
 }
 public List<Post> Get()
 {
     var manager = new BlogManager();
     var data = manager.GetAllUnapprovedPosts().Data;
     return data;
 }