}//end of method get to get all

        //get by id method
        public IHttpActionResult Get(int id)
        {
            BoardGameService service = new BoardGameService();
            var boardGame            = service.GetBoardGameById(id);

            return(Ok(boardGame));
        }//end of method get by id
 public Task <BoardGame> GetBoardGameById(int gameId)
 {
     return(_boardGameService.GetBoardGameById(gameId));
 }