/// <summary> /// To update jobseeker education details /// </summary> /// <param name="id">EducationId</param> /// <param name="jobSeekerEducationObj">EducationObject</param> public void Put(string id, Education jobSeekerEducationObj) { try { jobSeekerEducationObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); jobSeekerEducationObj.Id = new Guid(id); jobSeekerEducationObj.Id = new Guid(id); ServiceFactory.GetJobSeekerEducation().Update(jobSeekerEducationObj); } catch (Exception exp){} }
/// <summary> /// To create a new education detail for the jobseeker /// </summary> /// <param name="jobSeekerEducationObj">Education details object</param> public string Post(Education jobSeekerEducationObj) { jobSeekerEducationObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); ServiceFactory.GetJobSeekerEducation().Create(jobSeekerEducationObj); return jobSeekerEducationObj.Id.ToString(); }