Example #1
0
 public override void Add()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.CurrentId = service.AddSoftSkill(this.ViewModel.Candidate, this.ViewModel.SoftSkillsEvaluation, this.ViewModel.SoftSkillsEvaluation.SoftSkill.Name);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #2
0
 public override void Load()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.Candidate = service.GetCandidateById(this.CurrentId);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #3
0
 public void LoadCandidate()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.Candidate = service.GetCandidateByRecruitmentStageId(this.CurrentId);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #4
0
 public void LoadCandidate()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.Candidate = service.GetCandidateBySkillEvaluationId(this.CurrentId);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #5
0
 public override void Save()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.Candidate.Document = null;
             service.Save(this.ViewModel.Candidate);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #6
0
 public override void Save()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.RecruitmentStage.Candidate = null;
             this.CurrentId = service.SaveRecriutmentStage(this.ViewModel.RecruitmentStage);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #7
0
 public override void Save()
 {
     using (var service = new CandidatesServiceClient())
     {
         try
         {
             this.ViewModel.SoftSkillsEvaluation.Evaluation = null;
             service.SaveSoftSkill(this.ViewModel.SoftSkillsEvaluation);
         }
         catch (Exception e)
         {
         }
     }
 }
Example #8
0
        public override void Load()
        {
            using (var service = new CandidatesServiceClient())
            {
                try
                {
                    this.ViewModel.Candidate = service.GetCandidateByRecruitmentStageId(this.CurrentId);

                    this.ViewModel.RecruitmentStage = this.ViewModel.Candidate.RecruitmentStage.Where(x => x.Id == this.CurrentId).First();
                }
                catch (Exception e)
                {
                }
            }
        }
Example #9
0
        public override void Load()
        {
            using (var service = new CandidatesServiceClient())
            {
                try
                {
                    this.ViewModel.Candidate = service.GetCandidateBySoftSkillEvaluationId(this.CurrentId);

                    this.ViewModel.SoftSkillsEvaluation = this.ViewModel.Candidate.Evaluation.SoftSkillsEvaluation.Where(x => x.Id == this.CurrentId).First();
                }
                catch (Exception e)
                {
                }
            }
        }