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")); }