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")); }