예제 #1
0
        public async Task <IActionResult> Delete(string slugArticle)
        {
            await _articles.DeleteArticleAsync(slugArticle);

            return(RedirectToAction("Index", "Home"));
        }