public void Add(ICareer career) { if (this.DoesNotContain(career)) { careers.Add(career); } }
public void Add(ICareer career) { if(this.DoesNotContain(career)) { careers.Add(career); } }
private void ShowAllCareers() { for (int i = 0; i < careerRepository.GetSize(); i++) { ICareer current = careerRepository.GetAt(i); careerTabView.AddCareerToSelection(current); } }
public void CareerSelected(ICareer career) { careerTabView.PrintCareerDescription(career.Description); }
private bool DoesNotContain(ICareer career) { return(!this.careers.Contains(career)); }
public void Remove(ICareer career) { careers.Remove(career); }
public void SetCareer(ICareer career) { career.ComputePlan(); this.studyPlan = career.StudyPlan; PopulateStudyPlan(); }
public CareerController(ICareer ctx) { db = ctx; }
public void AddCareerToSelection(ICareer career) { CareerSelectComboBox.Items.Add(career); }
public void SetChosenCareer() { ICareer chosenCareer = this.careerTabView.GetSelectedCareer(); this.studyPlanController.SetCareer(chosenCareer); }
private bool DoesNotContain(ICareer career) { return !this.careers.Contains(career); }