Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
async public Task <PileInfo> Patch(string deckId, string pileName, AddPileRequest request) { Deck deck = await _repository.PutCardsInPile(deckId, pileName, request.value); //List<Pile> piles = deck.Piles; return(new PileInfo { DeckId = deckId, Remaining = deck.Cards.Where(x => !x.Drawn).Count(), Piles = deck.Piles }); }