public Response FunctionHandler(QueueRequest request)
        {
            var container = new CommandContainer();

            container.RegisterRequirement <IDbConnection>(() => DbHelper.Connection)

            .Register <QueueCommand>(Operation.Queue)
            .Register <ReadCommand>(Operation.Read);

            try
            {
                request.Validate();
                return(container.ProcessWith(request, request.QueueOperation));
            }
            catch (Exception ex)
            {
                throw new LambdaException(HttpCode.BadRequest, ex.Message);
            }
        }