public static void delete(int id) { using (DAL.root.toolDAL dal = new DAL.root.toolDAL()) { dal.delete(id); } }