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