public void Put(string id, JobSkills jobSkillObj) { try { jobSkillObj.Id = new Guid(id); ServiceFactory.GetJobSkills().Update(jobSkillObj); } catch (Exception exp) { } }
/// <summary> /// To create a new work history details /// </summary> /// <param name="jobSeekerWorkHistoryObj">WorkHistory object</param> public void Post(JobSkills jobSkillObj) { try { string skillMapId = jobSkillObj.SkillMapId; string[] skillMapIdList = skillMapId.Split(','); for (int i = 0; i < skillMapIdList.Length; i++) { jobSkillObj.JobId = jobSkillObj.JobId; jobSkillObj.SkillScore = jobSkillObj.SkillScore; jobSkillObj.SkillImportance = jobSkillObj.SkillImportance; jobSkillObj.SkillExperience = jobSkillObj.SkillExperience; jobSkillObj.SkillMapId = skillMapIdList[i]; ServiceFactory.GetJobSkills().Create(jobSkillObj); } } catch (Exception ex) { } }