public bool ChangeChequeStatusForOutFlow(string statusType) { bool status = false; chequeInventoryDAL chequeInventorydal = new chequeInventoryDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); status = chequeInventorydal.ChangeChequeStatusForOutFlow(db, this, statusType); db.Stop(); } catch (Exception ex) { throw; } return status; }
public DataTable getChequeInventory() { DataTable dt = new DataTable(); chequeInventoryDAL chequeInventoryDal = new chequeInventoryDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); dt = chequeInventoryDal.getChequeInventoryList(db, this); db.Stop(); return dt; } catch (Exception) { throw; } finally { chequeInventoryDal = null; } }