/// <summary> /// To update jobseeker overview /// </summary> /// <param name="id">overviewId</param> /// <param name="jobSeekerOverviewObj">jobseeker overview object</param> public void Put(string id, Overview jobSeekerOverviewObj) { try { jobSeekerOverviewObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); jobSeekerOverviewObj.Id = new Guid(id); ServiceFactory.GetJobSeekerOverview().Update(jobSeekerOverviewObj); } catch (Exception exp){} }
/// <summary> /// To create a jobseeker overview /// </summary> /// <param name="jobSeekerObj">jobseeker overview object</param> public string Post(Overview jobSeekerOverviewObj) { jobSeekerOverviewObj.JobSeekerId = SkillsmartUser.GuidStr(HttpContext.Current.User); ServiceFactory.GetJobSeekerOverview().Create(jobSeekerOverviewObj); return jobSeekerOverviewObj.Id.ToString(); }