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

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

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