public GetInvocationsResult Handle(GetInvocationsRequest request)
        {
            var invocations = PluginSettings.GetInvocations();
            if (invocations != null)
                invocations = invocations.OrderByDescending(i => i.StartedOn);

            var result = new GetInvocationsResult { Invocations = invocations };
            return result;
        }
        public GetInvocationsResult Handle(GetInvocationsRequest request)
        {
            var invocations = PluginSettings.GetInvocations();

            if (invocations != null)
            {
                invocations = invocations.OrderByDescending(i => i.StartedOn);
            }

            var result = new GetInvocationsResult {
                Invocations = invocations
            };

            return(result);
        }