public bool Delete(string ID) { return(dal.Delete(ID)); }
public IActionResult DeleteConfirmed(int id) { _dept.Delete(id); return(RedirectToAction(nameof(Index))); }