예제 #1
0
        async Task <IEnumerable <Common.Models.JobTitle> > IJobTitleService.GetAllAsync()
        {
            IEnumerable <JobTitleDto> jobTitles = await _jobTitleRepository.GetAllAsync();

            return(_mapper.Map <IEnumerable <JobTitleDto>, IEnumerable <Common.Models.JobTitle> >(jobTitles));
        }