public static List <Course> DeleteCourse(int id) { try { return(SQLAdapter.DeleteCourse(id)); } catch (Exception e) { return(null); } }