Пример #1
0
        public async Task <ActionResult> DeleteConfirmed(string id)
        {
            // Delete customer from the database
            ModelTools.DeleteCustomerId(id);
            // Delete customer from Partner Center
            var csp = new PartnerCenter();
            await csp.DeleteCspCustomerAsync(id);

            return(RedirectToAction("Index"));
        }