/// <summary>
 /// To update training course service
 /// </summary>
 /// <param name="id">training course id</param>
 /// <param name="jobSeekerTrainingCourseObj">training course object</param>
 public void Put(string id, TrainingCourse jobSeekerTrainingCourseObj)
 {
     try
     {
         jobSeekerTrainingCourseObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User);
         jobSeekerTrainingCourseObj.Id = new Guid(id);
         jobSeekerTrainingCourseObj.Id = new Guid(id);
         ServiceFactory.GetJobSeekerTrainingCourse().Update(jobSeekerTrainingCourseObj);
     }
     catch (Exception exp){}
 }
 /// <summary>
 /// To create a new training course
 /// </summary>
 /// <param name="jobSeekerTrainingCourseObj">trainingcourseobject</param>
 public string Post(TrainingCourse jobSeekerTrainingCourseObj)
 {
     jobSeekerTrainingCourseObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User);
     ServiceFactory.GetJobSeekerTrainingCourse().Create(jobSeekerTrainingCourseObj);
     return jobSeekerTrainingCourseObj.Id.ToString();
 }