public async Task <ActionResult <string> > Search([FromQuery] GatAllGamesCommand command)
        {
            var result = await Mediator.Send(command);

            return(new JsonResult(result));
        }
 async Task <List <Game> > IRequestHandler <GatAllGamesCommand, List <Game> > .Handle(GatAllGamesCommand command,
                                                                                      CancellationToken cancellationToken)
 {
     return(_context.Games.ToList());
 }