public async Task <BonusDto> DeactivateBonusAsync(Guid id, CancellationToken cancellationToken) { if (id == Guid.Empty) { throw new ArgumentNullException("", Resources.IdentifierIsNull); } var result = await _bonusRepository.DeactivateBonusAsync(id, cancellationToken); return(_mapper.Map <BonusDto>(result)); }