/// <summary> /// To Update extra curricular activity details /// </summary> /// <param name="id">ExtraCurricularActivityId</param> /// <param name="extraCurricularActivityObj">extraCurricularActivity Object</param> public void Put(string id, ExtraCurricularActivity extraCurricularActivityObj) { try { extraCurricularActivityObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); extraCurricularActivityObj.Id = new Guid(id); extraCurricularActivityObj.Id = new Guid(id); ServiceFactory.GetJobSeekerExtraCurricularActivityService().Update(extraCurricularActivityObj); } catch (Exception exp){} }
/// <summary> /// To get create an extra Curricular activity of jobseeker related to an education details /// </summary> /// <param name="extraCurricularActivityObj">extraCurricularActivity Object</param> public string Post(ExtraCurricularActivity extraCurricularActivityObj) { extraCurricularActivityObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); ServiceFactory.GetJobSeekerExtraCurricularActivityService().Create(extraCurricularActivityObj); return extraCurricularActivityObj.Id.ToString(); }