예제 #1
0
        public async Task <IActionResult> Delete(string id)
        {
            await _catalogService.DeleteCourseAsync(id);

            return(RedirectToAction(nameof(Index)));
        }