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