Exemple #1
0
        public async Task <List <BonusDto> > FindAllBonusesAsync(CancellationToken cancellationToken)
        {
            var result = await _bonusRepository.GetAllAsync(cancellationToken);

            return(_mapper.Map <List <BonusDto> >(result));
        }