Esempio n. 1
0
        public async Task <IEnumerable <JobResponseModel> > GetAllJobsByJobTitleId(int jobTitleId)
        {
            var jobsFromDb = await _repository.FilterAsync(job => job.JobTitleId == jobTitleId);

            return(Mapper.Map <IEnumerable <JobResponseModel> >(jobsFromDb));
        }