Esempio n. 1
0
        public IActionResult TraditionalHand(IEnumerable <string> keyValuePair)
        {
            var deck    = new HarrowDeck.HarrowDeck();
            var reading = new HarrowReading();

            return(View(reading.TraditionalReading(deck)));
        }
Esempio n. 2
0
        public IActionResult TraditionalHand()
        {
            var deck    = new HarrowDeck.HarrowDeck();
            var reading = new HarrowReading();
            var spread  = reading.TraditionalReading(deck);
            var vm      = new TraditionalHandViewModel();

            vm.FullDeck          = deck;
            vm.TraditionalSpread = spread;

            return(View(vm));
        }
Esempio n. 3
0
        public IActionResult Details(string name)
        {
            var deck = new HarrowDeck.HarrowDeck().Deck;

            return(View(deck.Find(e => e.Name == name)));
        }
Esempio n. 4
0
        public IActionResult Index()
        {
            var deck = new HarrowDeck.HarrowDeck();

            return(View(deck.Deck));
        }