public async Task <JobSeekerDto> UpdateJobSeekerAsync(UpdateJobSeekerDto input) { var jobSeeker = await _jobSeekerRepo.GetAsync(input.Id); ObjectMapper.Map(input, jobSeeker); var savedJobSeeker = await _jobSeekerRepo.UpdateAsync(jobSeeker); return(ObjectMapper.Map <JobSeekerDto>(savedJobSeeker)); }
public async Task <JobSeekerDto> Update(UpdateJobSeekerDto input) { return(await _jobSeekerAppService.UpdateJobSeekerAsync(input)); }