CRM Module update
This commit is contained in:
parent
2b68bfb8bf
commit
18cd090671
37 changed files with 2067 additions and 204 deletions
|
@ -81,15 +81,15 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
|
||||
[WebMethod]
|
||||
public IntResult GetCRMUserCount(int itemId, string name, string email)
|
||||
public IntResult GetCRMUserCount(int itemId, string name, string email, int CALType)
|
||||
{
|
||||
return CRMController.GetCRMUsersCount(itemId, name, email);
|
||||
return CRMController.GetCRMUsersCount(itemId, name, email, CALType);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public UserResult CreateCRMUser(OrganizationUser user, int packageId, int itemId, Guid businessUnitOrgId)
|
||||
public UserResult CreateCRMUser(OrganizationUser user, int packageId, int itemId, Guid businessUnitOrgId, int CALType)
|
||||
{
|
||||
return CRMController.CreateCRMUser(user, packageId, itemId, businessUnitOrgId);
|
||||
return CRMController.CreateCRMUser(user, packageId, itemId, businessUnitOrgId, CALType);
|
||||
}
|
||||
|
||||
|
||||
|
@ -112,6 +112,12 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return CRMController.SetUserRoles(itemId, accountId, packageId, roles);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public ResultObject SetUserCALType(int itemId, int accountId, int packageId, int CALType)
|
||||
{
|
||||
return CRMController.SetUserCALType(itemId, accountId, packageId, CALType);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public ResultObject ChangeUserState(int itemId, int accountId, bool disable)
|
||||
{
|
||||
|
@ -125,5 +131,23 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return CRMController.GetCrmUser(itemId, accountId);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public ResultObject SetMaxDBSize(int itemId, int packageId, long maxSize)
|
||||
{
|
||||
return CRMController.SetMaxDBSize(itemId, packageId, maxSize);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public long GetDBSize(int itemId, int packageId)
|
||||
{
|
||||
return CRMController.GetDBSize(itemId, packageId);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public long GetMaxDBSize(int itemId, int packageId)
|
||||
{
|
||||
return CRMController.GetMaxDBSize(itemId, packageId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue