public async Task <SavedRecruitmentDto> CreateSavedRecruitmentAsync(CreateSavedRecruitmentDto input) { var savedrecruitment = ObjectMapper.Map <SavedRecruitment>(input); savedrecruitment = await _savedRecruitmentRepo.InsertAsync(savedrecruitment); await CurrentUnitOfWork.SaveChangesAsync(); return(ObjectMapper.Map <SavedRecruitmentDto>(savedrecruitment)); }
public async Task <SavedRecruitmentDto> CreateSavedRecruitment(CreateSavedRecruitmentDto input) { return(await _recruitmentAppService.CreateSavedRecruitmentAsync(input)); }