Esempio n. 1
0
        public DataTable GetPrivilegedMenuByUser(string userId, string menuForApp, string menuType, string menuGroupId)
        {
            AppMenuDAL appMenu = new AppMenuDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                DataTable dt = appMenu.GetPrivilegedMenuByUser(userId, menuForApp, menuType, menuGroupId, db);
                db.Stop();

                return dt;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                appMenu = null;
            }
        }