public DestinyDeck GetDestinyDeck(string deckId) { var deckList = _api.GetDeckList(deckId); if (deckList == null) { throw new DeckListNotFoundException(); } var cards = _api.GetCards(); return(_deckBuilder.Build(deckList, cards)); }
public List<Card> GetCards() { if (_cardCache == null) _cardCache = _api.GetCards(); return _cardCache; }