public static bool FindComune(string cap) { ps = new PreventivatoriServiceClient(); BaseCapContract bcc = CreateBCC(cap); InfoComune[] ic = TCCap(ps, bcc); return(FindCap(ic, cap)); }
public static DettaglioQuoteProdotto TCCasa(PreventivatoriServiceClient ps, QuoteProdottoContract qpc) { try { return(ps.GetSHPQuoteAsync(qpc).Result); } catch (Exception) { return(null); } }
public static DettaglioQuoteGaranzie TCDettaglio(PreventivatoriServiceClient ps, InfoBase ib) { try { return(ps.PricingSHPQuoteAsync(ib).Result); } catch (Exception) { return(null); } }
private static InfoComune[] TCCap(PreventivatoriServiceClient ps, BaseCapContract bcc) { try { return(ps.GetComuniProvinciaByCapAsync(bcc).Result); } catch (Exception ex) { return(null); } }