Ejemplo n.º 1
0
 public void Add(ICareer career)
 {
     if (this.DoesNotContain(career))
     {
         careers.Add(career);
     }
 }
Ejemplo n.º 2
0
 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);                
 }
Ejemplo n.º 5
0
 private bool DoesNotContain(ICareer career)
 {
     return(!this.careers.Contains(career));
 }
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 9
0
 public void AddCareerToSelection(ICareer career)
 {
     CareerSelectComboBox.Items.Add(career);
 }
 public void CareerSelected(ICareer career)
 {
     careerTabView.PrintCareerDescription(career.Description);
 }
        public void SetChosenCareer()
        {
            ICareer chosenCareer = this.careerTabView.GetSelectedCareer();

            this.studyPlanController.SetCareer(chosenCareer);
        }
Ejemplo n.º 12
0
 public void SetCareer(ICareer career)
 {
     career.ComputePlan();
     this.studyPlan = career.StudyPlan;
     PopulateStudyPlan();
 }
Ejemplo n.º 13
0
 private bool DoesNotContain(ICareer career)
 {
     return !this.careers.Contains(career);
 }
Ejemplo n.º 14
0
 public void Remove(ICareer career)
 {
     careers.Remove(career);
 }
Ejemplo n.º 15
0
 public void AddCareerToSelection(ICareer career)
 {
     CareerSelectComboBox.Items.Add(career);
 }