Example #1
0
 public async Task <ActionResult <ICollection <JobCategoryDto> > > Index()
 {
     return(Ok(await _repository.Get()));
 }
Example #2
0
 public JobCategoryDto GetJobCategory(GetJobCategoryInput input)
 {
     return(Mapper.Map <JobCategoryDto>(_jobCategoryRepository.Get(input.CategoryId)));
 }