public static void Delete(int id, string cnString) { EventDB db = new EventDB(cnString); db.Delete(id); }
/// <summary> /// Deletes the customer identified by the id. /// </summary> public static void Delete(int id) { EventDB db = new EventDB(); db.Delete(id); }