예제 #1
0
        public IActionResult BlogHome()
        {
            var posts = _servicePost.Get();

            return(View("BlogHome", posts));
        }
예제 #2
0
        public IActionResult Index()
        {
            var posts = _servicoPost.Get();

            return(View("Index", posts));
        }