Esempio n. 1
0
        public ActionResult PostList()
        {
            CountDTO countDTO = new CountDTO();

            countDTO = bll.GetAllCounts();
            ViewData["AllCounts"] = countDTO;
            List <PostDTO> postList = new List <PostDTO>();

            postList = bll.GetPosts();
            return(View(postList));
        }