Check OrgId policy while adding hosted organization

if "Automated Hosted Organization" checked on.
This commit is contained in:
vfedosevich 2013-03-28 16:14:51 +03:00
parent 306e3147eb
commit 252d518537
4 changed files with 138 additions and 3 deletions

View file

@ -45,6 +45,12 @@ namespace WebsitePanel.EnterpriseServer
{
#region Organizations
[WebMethod]
public bool CheckOrgIdExists(string orgId)
{
return OrganizationController.OrganizationIdentifierExists(orgId);
}
[WebMethod]
public int CreateOrganization(int packageId, string organizationID, string organizationName, string domainName)
{