public void validateProfile() { CareerProfileFetcher cpf = new CareerProfileFetcher(); if (cpf.fetchData()) { cpd = cpf.getModel(); startLoadingProcess(); } else { MessageBox.Show( "Character couldn't be found. Please check your entered data again.", "Character not found.", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1 ); } }
public CareerProfileFetcher() { data = new CareerProfileData(); }
public ChampionFetcher(CareerProfileData cpd) { this.cpd = cpd; }