Beispiel #1
0
        public async Task <GadgetResponse <SqlConnectionGadget.Result> > SqlConnection([FromBody] SqlConnectionGadget.Request request)
        {
            this.logger.LogInformation("Executing SQL Connection API");
            var gadget = new SqlConnectionGadget(this.logger, this.httpClientFactory, Url, this.appSettings);

            return(await gadget.ExecuteAsync(request));
        }
Beispiel #2
0
        public async Task OnPost()
        {
            this.logger.LogInformation("Executing SQL Connection page");
            var gadget = new SqlConnectionGadget(this.logger, this.httpClientFactory, Url, this.appSettings);

            this.GadgetResponse = await gadget.ExecuteAsync(this.GadgetRequest);
        }
        public async Task <GadgetResponse <SqlConnectionGadget.Result> > SqlConnection([FromBody] SqlConnectionGadget.Request request)
        {
            var gadget = new SqlConnectionGadget(this.httpClientFactory, Url);

            return(await gadget.ExecuteAsync(request));
        }
Beispiel #4
0
        public async Task OnPost()
        {
            var gadget = new SqlConnectionGadget(this.httpClientFactory, Url);

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