Exemple #1
0
        public void SaveUserPrivilegeMenu(string userId, string menuForApp, string menuType, string menuGroupId, List<string> userPrivilegeMenus)
        {
            AppMenuDAL appMenu = new AppMenuDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                appMenu.SaveUserPrivilegeMenu(userId, menuForApp, menuType, menuGroupId, userPrivilegeMenus, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                appMenu = null;
            }
        }