Exemplo n.º 1
0
        public IActionResult DeleteBaiHocConfirm(int?Id)
        {
            ChuDeDTO chuDe = chuDeService.GetChuDe(baiHocService.GetBaiHoc(Id).IdchuDe);

            baiHocService.Remove(Id);
            return(RedirectToAction("Details", chuDe));
        }
 public IActionResult DeleteConfirm(int?Id)
 {
     baiHocService.Remove(Id);
     return(RedirectToAction("Index"));
 }