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(); } }
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(); } }