public ResponseDS OutOrdersByStatus([FromBody] RequestOutOrdersByStatus r) { var obj = new OutOrdersR(); try { var ds = obj.GetByStatus(r.BankId, (int)r.Status, r.EntryDate.ToString("yyyyMMdd")); return(new ResponseDS(ds)); } catch (Exception ex) { return(new ResponseDS(ex.Message, ex.ToString())); } finally { obj.Dispose(); } }
public ResponseDS OutOrdersByTUN([FromBody] RequestOutOrdersByTUN r) { var obj = new OutOrdersR(); try { var ds = obj.GetByTUN(r.BankId, r.Tun, r.Db); return(new ResponseDS(ds)); } catch (Exception ex) { return(new ResponseDS(ex.Message, ex.ToString())); } finally { obj.Dispose(); } }
public ResponseDS OutOrdersByFwdFromId([FromBody] RequestOutOrdersByFwdFromId r) { var obj = new OutOrdersR(); try { var ds = obj.GetbyFwdFromId(r.InOrderId, SQLSelectStatement.HintOption.NoHint, r.Db); return(new ResponseDS(ds)); } catch (Exception ex) { return(new ResponseDS(ex.Message, ex.ToString())); } finally { obj.Dispose(); } }