Exemplo n.º 1
0
        public bool WriteLog(PartialLog partialLog)
        {
            var logEntity = new PartialLog {
                ModuleName = "后台登录", Type = LogType.BS.ToString()
            };

            logEntity.ModuleName  = partialLog.ModuleName;
            logEntity.Result      = partialLog.Result;
            logEntity.Description = partialLog.Description;
            return(SysInstance.WriteLog(logEntity));
        }