예제 #1
0
        /// <summary>
        /// Date Created:   27/10/2011
        /// Created By:     Josephine Gad
        /// (description)   Get user module submenu by user
        /// </summary>
        public static DataTable GetSubMenuByUser(string UserName, string ParentIdInt)
        {
            DataTable ModuleDataTable = null;

            try
            {
                ModuleDataTable = UserRightsDAL.GetSubMenuByUser(UserName, ParentIdInt);
                return(ModuleDataTable);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                if (ModuleDataTable != null)
                {
                    ModuleDataTable.Dispose();
                }
            }
        }