コード例 #1
0
 /// <summary>
 /// To update jobseeker certification details
 /// </summary>
 /// <param name="id">sertificationId</param>
 /// <param name="jobSeekerCertificationObj">certification object</param>
 public void Put(string id, Certification jobSeekerCertificationObj)
 {
     try
     {
         jobSeekerCertificationObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User);
         jobSeekerCertificationObj.Id = new Guid(id);
         jobSeekerCertificationObj.Id = new Guid(id);
         ServiceFactory.GetJobSeekerCertification().Update(jobSeekerCertificationObj);
     }
     catch (Exception exp){}
 }
コード例 #2
0
 /// <summary>
 /// To insert jobseeker certification details
 /// </summary>
 /// <param name="jobSeekerCertificationObj">certification object</param>
 public string Post(Certification jobSeekerCertificationObj)
 {
     jobSeekerCertificationObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User);
     ServiceFactory.GetJobSeekerCertification().Create(jobSeekerCertificationObj);
     return jobSeekerCertificationObj.Id.ToString();
 }