public List<serviceInformation> CustomerByServiceTNSVC(string serviceTN) { try { // Create an instance of the CustomerService service. using (ServiceResourceImplService custServ = new ServiceResourceImplService()) { custServ.Url = IPLANETURL; serviceInformation[] info = custServ.findByServiceTn(serviceTN); return (info != null) ? info.ToList<serviceInformation>() : new List<serviceInformation>(); } } catch (Exception) { throw; } }
public serviceInformation CustomerByCircuitIDSVC(string circuitID) { try { // Create an instance of the CustomerService service. using (ServiceResourceImplService custServ = new ServiceResourceImplService()) { custServ.Url = IPLANETURL; serviceInformation info = custServ.findByCircuitId(circuitID); return info; } } catch (Exception) { throw; } }