public static int CheckActive(string platformCode, string platformZoneCode, string account) { try { NwWebService.NwWebService ws = WebServiceFactory.GetWebServicePlatform(platformCode, platformZoneCode); return(ws.CheckActive(account)); } catch (Exception e) { LogHelper.Insert(e); return(-1); } }
public static int CheckActive(string zoneId, string account) { try { NwWebService.NwWebService ws = WebServiceFactory.GetWebService(zoneId); return(ws.CheckActive(account)); } catch (Exception e) { LogHelper.Insert(e); return(-1); } }