public void DeleteReporteeElement(DeleteReporteeElementShipmentEC2 shipment) { var client = GenerateProxy(shipment); OperationContext = _context + "DeleteReporteeElement"; client.DeleteReporteeElementEC(shipment.Username, shipment.Password, shipment.ReporteeElementCode); }
public ReporteeElementListFormEC2() { InitializeComponent(); _relepFunc = new Functionality.EndPoints.ServiceEngine.ReporteeElementListEndPointFunctionEC2(); _relepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentDeleteRe = new DeleteReporteeElementShipmentEC2(); ShipmentGetCorrForAr = new ReporteeElemenetListShipmentBaseEC2(); ShipmentGetFormSet = new GetFormSetShipmentBaseEC2(); ResultSgcbar = new ReporteeElementBEV2Lis(); ResultSgcfr = new ReporteeElementBEV2Lis(); ResultGfs = new FormSetElementExternalBEV2List(); ShipmentGcfr = new ReporteeElemenetListShipmentBaseEC2(); ShipmentGrel = new GetReporteeElementListShipmentEC2(); ShipmentGrel.ExternalSearch = new ExternalSearchBEV2(); ResultFormSetData = new FormSetDataBEList(); GetFormSetDataShipment = new BaseReporteeElementIdShipment(); AssignAction(ahc_GetFormSetData, _relepFunc.GetFormTaskData, GetFormSetDataShipment, ResultFormSetData, "GetFormSetData"); SetupObjForPropGrid(); }