public searchVouchersResponse searchVouchers(searchVouchersRequest Requset) { if (!CheckCageEnabled()) { return(null); } searchVouchersResponse oResponse = new searchVouchersResponse(); try { oResponse.searchVouchersResponse1 = objCashDeskOperator.searchVouchers(Requset.searchVouchers.arg0, Requset.searchVouchers.arg1, Requset.searchVouchers.arg2, Requset.searchVouchers.arg3); oResponse.searchVouchersResponse1[0].allowOverride = false; } catch (Exception ex) { ExceptionManager.Publish(ex); } return(oResponse); }
public searchVouchersResponse searchVouchers(searchVouchersRequest Requset) { if (!CheckCageEnabled()) return null; searchVouchersResponse oResponse = new searchVouchersResponse(); try { oResponse.searchVouchersResponse1 = objCashDeskOperator.searchVouchers(Requset.searchVouchers.arg0, Requset.searchVouchers.arg1, Requset.searchVouchers.arg2, Requset.searchVouchers.arg3); oResponse.searchVouchersResponse1[0].allowOverride = false; } catch (Exception ex) { ExceptionManager.Publish(ex); } return oResponse; }