public void loadDetails() { if (sqlWorker == null) { throw new SQLWorkerException("SQLWorker is equal to null."); } details.Clear(); details = sqlWorker.GetDetails(); }
public void loadDetails(ISQLWorker sqlWorker) { details.Clear(); details = sqlWorker.GetDetails(); }