public static Deck Execute(string input, Deck deckToProcess) { if (input.ToUpper().Equals(shuffleInputValue)) { return(CardLogic.ShuffleDeck(deckToProcess)); } if (input.ToUpper().Equals(sortInputValue)) { return(CardLogic.SortDeck(deckToProcess)); } else { return(new Deck()); } }