Example #1
0
        public async Task <ActionResult> DeleteConfirmed(WebhookModel webhookModel)
        {
            var salesforceService = new SalesforceService((ClaimsPrincipal)User, SignInManager);
            await salesforceService.DeleteWebhookAsync(webhookModel);

            return(RedirectToAction("Index"));
        }