public static DataTable GetSubMenu(string RoleKeyString, string ParentIdInt) { DataTable ModuleDataTable = null; try { ModuleDataTable = UserRightsDAL.GetSubMenu(RoleKeyString, ParentIdInt); return(ModuleDataTable); } catch (Exception ex) { throw ex; } finally { if (ModuleDataTable != null) { ModuleDataTable.Dispose(); } } }