Пример #1
0
 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;
     }
 }
Пример #2
0
 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;
     }
 }