public async void UpdateAsync(CandidateSkillDTO candidateSkillDTO) { if (await _context.Database.EnsureCreatedAsync()) { var candidateskill = Mapper.Map <CandidateSkillDTO, CandidateSkill>(candidateSkillDTO); _context.CandidateSkills.Update(candidateskill); await _context.SaveChangesAsync(); } }
public void Create(CandidateSkillDTO candidateSkill) { _service.CreateAsync(candidateSkill); }
public void Update(CandidateSkillDTO candidateSkill) { _service.UpdateAsync(candidateSkill); }