public static object CallSendCmd(string name, params object[] values) { using (var client = new DataServiceClient()) return(client.SendCmd(name, values)); }
/// <summary> /// Call DataServer to create ClientID /// </summary> /// <param name="machineName"></param> /// <returns></returns> public static int CallCreateClient(string machineName) { using (var client = new DataServiceClient()) return(client.CreateClient(machineName)); }
public static CountryData[] CallQueryContries(UserAuth user) { using (var client = new DataServiceClient()) return(client.QueryContries()); }
public static string[] CallQuerySiteCodes(int clientId, int countryId, string P2FileNumber, int count) { using (var client = new DataServiceClient()) return(client.QuerySiteCodes(clientId, countryId, P2FileNumber, count)); }