private void SaveData() { if (customFileName == "") { MpiDataSaver.SaveMpi(this.getPatients()); } else { MpiDataSaver.SaveMpi(this.getPatients(), customFileName); } }
private void LoadData(String fileName) { customFileName = fileName; this.setPatients(MpiDataSaver.LoadMpi(fileName)); }
private void LoadData() { this.setPatients(MpiDataSaver.LoadMpi()); }