public async Task <IActionResult> Edit(Guid id, BoardGameViewModel boardGameViewModel)
        {
            if (!ModelState.IsValid)
            {
                return(View(boardGameViewModel));
            }

            var boardGame = _mapper.Map <BoardGame>(boardGameViewModel);

            await _boardGameRepository.Atualizar(boardGame);

            return(RedirectToAction(nameof(Index)));
        }