public async Task <IActionResult> BoardGames()
        {
            var boardgameService = new BoardGameDbService(_context);
            var myBoardgames     = await boardgameService.GetUsersBoardgames(User.Identity.Name);

            return(View());
        }
        public async Task <IActionResult> GetUserBoardgames(string username)
        {
            if (string.IsNullOrWhiteSpace(username))
            {
                username = User.Identity.Name;
            }

            var boardgameDbService = new BoardGameDbService(_context);
            var boardgames         = await boardgameDbService.GetUsersBoardgames(username);

            return(View(boardgames));
        }