Ejemplo n.º 1
0
        public PlayerDetails GetPlayerDetails(string realm, string name)
        {
            var playerInfo   = _gameApiClient.GetCharacterDetails(realm, name);
            var debtorStatus = _debtorRepository.GetDebtorStatus(realm, name);

            return(new PlayerDetails()
            {
                DebtorStatus = debtorStatus, InGameInfo = playerInfo
            });
        }
Ejemplo n.º 2
0
 public DebtorStatus CheckDebtorStatus(string realm, string name)
 {
     return(_debtorRepository.GetDebtorStatus(realm, name));
 }