public static ShippingExportDC GetExportContractById(Guid id) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportContractById(id)); } }