public ActionResult Get(string id)
 {
     var cards = _cardRepository.GetCardsForBoard(id);
     var viewModel = new BoardViewModel
     {
         Cards = cards.ToArray()
     };
     return View("Board", viewModel);
 }
Beispiel #2
0
        public ActionResult Get(string id)
        {
            var cards     = _cardRepository.GetCardsForBoard(id);
            var viewModel = new BoardViewModel
            {
                Cards = cards.ToArray()
            };

            return(View("Board", viewModel));
        }