public ActionResult Excluir(Video Video) { using (var repo = new VideoRepository()) { repo.Excluir(Video); return(RedirectToAction("Index", "InstrutorCursos")); } }
public ActionResult Excluir(Video Video) { using (var repo = new VideoRepository()) { repo.Excluir(Video); return(RedirectToAction("Index", "InstrutorCursos")); } }