コード例 #1
0
 /// <summary>
 /// To update work history details of the jobseeker
 /// </summary>
 /// <param name="id">WorkHistoryId</param>
 /// <param name="jobSeekerWorkHistoryObj">WorkHistoryObject</param>
 public void Put(string id, JobsList jobSeekerWorkHistoryObj)
 {
     try
     {
         jobSeekerWorkHistoryObj.Id = new Guid(id);
         ServiceFactory.GetJobsList().Update(jobSeekerWorkHistoryObj);
     }
     catch (Exception exp) { }
 }
コード例 #2
0
        /// <summary>
        /// To create a new work history details
        /// </summary>
        /// <param name="jobSeekerWorkHistoryObj">WorkHistory object</param>
        public string Post(JobsList jobSeekerWorkHistoryObj)
        {

            ServiceFactory.GetJobsList().Create(jobSeekerWorkHistoryObj);
            return jobSeekerWorkHistoryObj.Id.ToString();
        }