public IActionResult Details(int id) { var boardGame = _boardGameRepository.GetBoardGameById(id); if (boardGame == null) { return(NotFound()); } return(View(boardGame)); }
public IActionResult Details(int id) { var boardGame = _boardGameRepository.GetBoardGameById(id); if (boardGame == null) { return(NotFound()); } return(View(boardGame)); }