예제 #1
0
        private History GetHistory(string email, string subject, string body, string files, DateTime dateTime, Guid groupId, Guid objId)
        {
            History history = new History {
                ColumnName  = subject,
                CreatedTime = dateTime,
                GroupId     = groupId,
                Ip          = HttpContext.Current.Request.UserHostAddress,
                NewValue    = body,
                OldValue    = files,
                ObjectId    = objId,
                OperationId = "EMAIL",
                Record      = email,
                TableName   = "EMAIL",
                UserName    = UserHelper.GetCurrentName()
            };

            return(history);
        }