public static ShippingExportDC GetExportContractByNumber(string number) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportContractByNumber(number)); } }