Exemplo n.º 1
0
        public async Task <GadgetResponse <ProcessRunGadget.Result> > ProcessRun([FromBody] ProcessRunGadget.Request request)
        {
            this.logger.LogInformation("Executing Process Run");
            var gadget = new ProcessRunGadget(this.logger, this.httpClientFactory, Url, this.appSettings);

            return(await gadget.ExecuteAsync(request));
        }
        public async Task OnPost()
        {
            this.logger.LogInformation("Executing Process Run page");
            var gadget = new ProcessRunGadget(this.logger, this.httpClientFactory, Url, this.appSettings);

            this.GadgetResponse = await gadget.ExecuteAsync(this.GadgetRequest);
        }