示例#1
0
        public ActionResult Index()
        {
            var banService = new BanService();

            ViewBag.Posts    = banService.SearchBannedPosts(new SearchBannedPostsRequest()).Posts;
            ViewBag.Comments = banService.SearchBannedComments(new SearchBannedCommentsRequest()).Comments;
            ViewBag.Users    = banService.SearchBannedUsers(new SearchBannedUsersRequest()).Users;

            return(View());
        }