public ActionResult DeleteTenant(string applicationName, string name) { Requires.ArgumentNotNullOrEmptyString(applicationName, "applicationName"); Requires.ArgumentNotNullOrEmptyString(name, "name"); var client = new ApplicationManagerClient(); client.DeleteApplicationTenant(applicationName, name); return(RedirectToAction("Tenants", new { applicationName })); }
public ActionResult DeleteTenant(string applicationName, string name) { Requires.ArgumentNotNullOrEmptyString(applicationName, "applicationName"); Requires.ArgumentNotNullOrEmptyString(name, "name"); var client = new ApplicationManagerClient(); client.DeleteApplicationTenant(applicationName, name); return RedirectToAction("Tenants", new { applicationName }); }