Example #1
0
        public static void WriteBusinessLog(string method, string messageOne, string messageTwo)
        {
            LogDao logDao = new LogDao();

            BusinessLogEntity entity = new BusinessLogEntity()
            {
                LogType    = method,
                MessageOne = messageOne,
                MessageTwo = messageTwo
            };

            logDao.InsertBusinessLog(entity);
        }
Example #2
0
        public static void WriteBusinessListLog(List <BusinessLogEntity> entity)
        {
            LogDao logDao = new LogDao();

            logDao.InsertBusinessLog(entity);
        }