Ejemplo n.º 1
0
        public async Task <IActionResult> GetOrderedDeck()
        {
            // Fetch the standard ordered deck of 52 cards
            var deck = await _service
                       .BuildStandardDeck()
                       .ConfigureAwait(false);

            // return the deck
            return(Ok(deck));
        }