コード例 #1
0
        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);
        }
コード例 #2
0
 public static DataTable LogList(int pageSize, int currentPage, string condition)
 {
     return(AdminVisitLogs.LogList(pageSize, currentPage, condition));
 }
コード例 #3
0
        //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));
        }