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));
        }
Exemple #2
0
 public async Task <SavedRecruitmentDto> CreateSavedRecruitment(CreateSavedRecruitmentDto input)
 {
     return(await _recruitmentAppService.CreateSavedRecruitmentAsync(input));
 }