Example #1
0
        public ResponseDS OrdersCounters([FromBody] RequestOrdersCounters r)
        {
            var obj = new OrdersFacadeR();

            try {
                var ds =
                    obj.GetOrdersMonitorCounters2(r.BankId, r.FromDate, r.ToDate, r.Currency);
                return(new ResponseDS(ds));
            } catch (Exception ex) {
                return(new ResponseDS(ex.Message, ex.ToString()));
            } finally { obj.Dispose(); }
        }
Example #2
0
        public ResponseDS OrdersList([FromBody] RequestOrdersList r)
        {
            var obj = new OrdersFacadeR();

            try {
                var ds =
                    obj.GetOrdersForMonitor2(
                        r.BankId, r.Status, r.MsgIO, r.FromDate, r.ToDate, r.Currency, r.NrRows);
                return(new ResponseDS(ds));
            } catch (Exception ex) {
                return(new ResponseDS(ex.Message, ex.ToString()));
            } finally { obj.Dispose(); }
        }