Esempio n. 1
0
        public async Task <IActionResult> Archive([FromServices] IBlogArchiveService blogArchiveService)
        {
            var archives = await blogArchiveService.ListAsync();

            return(View(archives));
        }
Esempio n. 2
0
        public async Task <IActionResult> Archive()
        {
            var archives = await _blogArchiveService.ListAsync();

            return(View(archives));
        }