public void GetBoardGameList()
        {
            //Arrange
            _boardGameRepositoryMock.Setup(mock => mock.GetAll()).Returns(new List<BoardGame> {new BoardGame()});
            var boardGameService = new BoardGameService(_boardGameRepositoryMock.Object);

            //Act
            var boardGames = boardGameService.GetAll();

            //Assert
            Assert.AreEqual(1, boardGames.Count());
            _boardGameRepositoryMock.Verify(mock => mock.GetAll(), Times.Once());
        }
 public IEnumerable <BoardGame> GetAllBoardGames()
 {
     return(_boardGameService.GetAll());
 }