// GET: Decks public ActionResult Index() { return(View(repo.GetAll().Select(deck => new DeckViewModel(deck)))); }
// GET: Games/Create public ActionResult Create() { return(View(new GameViewModel(deckRepo.GetAll()))); }
// GET: Decks public ActionResult Index() { return(View(repo.GetAll().Select(deck => new DeckViewModel(deck)))); }
// GET: Games/Create public ActionResult Create() { return(View(new GameViewModel(deckRepo.GetAll()))); }