public static bool InsertLog(int uid, string userName, int groupId, string groupTitle, string ip, string actions, string others) { bool result; try { AdminVisitLogs.InsertLog(uid, userName, groupId, groupTitle, ip, actions, others); result = true; } catch { result = false; } return(result); }
public static DataTable LogList(int pageSize, int currentPage, string condition) { return(AdminVisitLogs.LogList(pageSize, currentPage, condition)); }
//public static bool DeleteLog() //{ // bool result; // try // { // AdminVisitLogs.DeleteLog(); // result = true; // } // catch // { // result = false; // } // return result; //} //public static bool DeleteLog(string condition) //{ // bool result; // try // { // AdminVisitLogs.DeleteLog(condition); // result = true; // } // catch // { // result = false; // } // return result; //} public static DataTable LogList(int pageSize, int currentPage) { return(AdminVisitLogs.LogList(pageSize, currentPage)); }