public BonusBalance GetBalance(Guid playerId, Guid?walletTemplateId = null) { var wallet = _repository.GetLockedWallet(playerId, walletTemplateId); return(new BonusBalance { Main = wallet.Data.Main, Bonus = wallet.TotalBonus, BonusLock = wallet.Data.BonusLock }); }