public async Task <APIGatewayProxyResponse> UpdateById(APIGatewayProxyRequest request, ILambdaContext context)
        {
            var id = request.PathParameters["id"];

            try
            {
                var requestBody = JsonConvert.DeserializeObject <UpdateGameViewModel>(request.Body);
                var cts         = new CancellationTokenSource(context.RemainingTime);
                var result      = await _mediator.Send(new UpdateGameRequest { Id = id, Player = requestBody.Player, MoveCoordinate = requestBody.MoveCoordinate }, cts.Token);

                return(result.APIGatewayResponse());
            }
            catch (Exception)
            {
                var err = new BaseResponse {
                    IsValid = false, Errors = new List <string>()
                    {
                        "Something is wrong wiht your request"
                    }
                };
                return(err.APIGatewayResponse());
            }
        }