public async Task <BonusRewardResponseModel> RewardAsync(BonusRewardRequestModel request) { var result = await _bonusService.RewardAsync( request.CustomerId.ToString(), request.Amount, request.RewardRequestId, request.BonusReason, request.CampaignId.ToString(), request.ConditionId != Guid.Empty ?request.ConditionId.ToString() : null); return(_mapper.Map <BonusRewardResponseModel>(result)); }