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