예제 #1
0
        public async Task <IActionResult> BlogDetail(int id)
        {
            ViewBag.Comments = await _blogApiService.GetCommentsAsync(id, null);

            return(View(await _blogApiService.GetByIdAsync(id)));
        }