public async Task <IEnumerable <GenderServiceObject> > GetGenderListAsync(CancellationToken token) { var serviceResult = await _genderRepository.GetGenderListAsync(token); return(_mapper.Map <IEnumerable <GenderServiceObject> >(serviceResult)); }
public async Task <IEnumerable <GenderServiceObject> > GetGenderListAsync(CancellationToken token) { var serviceResult = await _genderRepository.GetGenderListAsync(token); return(_mapper.Map <IEnumerable <GenderServiceObject> >(serviceResult)); }