Exemplo n.º 1
0
 public async Task <IActionResult> DeleteConfirmed(int id)
 {
     videoService.DeleteVideos(id);
     return(RedirectToAction(nameof(Index)));
 }