Ejemplo n.º 1
0
 public List <Region> GetRegions()
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetRegions());
     }
 }
Ejemplo n.º 2
0
 public Person GetFIOByPhone(int regionId, string Phone)
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetFIOByPhone(regionId, Phone));
     }
 }
Ejemplo n.º 3
0
 public Policy GetStatusByFIOBirthday(int regionId, string Lastname, string Firstname, string Secondname, DateTime?Birthday)
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetStatusByFIOBirthday(regionId, Lastname, Firstname, Secondname, Birthday));
     }
 }
Ejemplo n.º 4
0
 public PolicyInfo GetStatusByTemporaryPolicyNumber(int regionId, string temporaryPolicyNumber)
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetStatusByTemporaryPolicyNumber(regionId, temporaryPolicyNumber));
     }
 }
Ejemplo n.º 5
0
 public PolicyInfo GetStatusByNumber(int regionId, string series, string number)
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetStatusByNumber(regionId, series, number));
     }
 }
Ejemplo n.º 6
0
 public PolicyInfo GetStatusByUnifiedPolicyNumber(int regionId, string unifiedPolicyNumber)
 {
     using (var client = new InternalPolicyStatusService.PolicyStatusServiceClient())
     {
         return(client.GetStatusByUnifiedPolicyNumber(regionId, unifiedPolicyNumber));
     }
 }