public DataTable GetMenuList() { AppMenuDAL appMenu = new AppMenuDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = appMenu.GetMenuList(db); db.Stop(); return(dt); } catch (Exception) { throw; } finally { appMenu = null; } }
public DataTable GetMenuList() { AppMenuDAL appMenu = new AppMenuDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = appMenu.GetMenuList(db); db.Stop(); return(dt); } catch (Exception) { throw; } finally { appMenu = null; } }