Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <RequestResponse <IEnumerable <Card> > > GetCardsForDecks(Deck[] requestDeckList) { var cards = new List <Card>(); foreach (var deck in requestDeckList) { cards.AddRange(await _deckRepository.GetCardsForDeck(deck.ID)); } return(new RequestResponse <IEnumerable <Card> > { Succeeded = true, ResponseBody = cards }); }