Exemplo n.º 1
0
 //Operation log
 public virtual void InsertOperationLog(OperationLog operationLog)
 {
     InsertObject(operationLog);
 }
Exemplo n.º 2
0
        //Operation log
        public void InsertOperationLog(int userId, int operationId)
        {
            var operationLog =
                new OperationLog
                {
                    UserId = userId,
                    OperationId = operationId,
                    LogDateTime = DateTime.Now,
                    IpAddress = ClientInfoHelper.GetHostIp()
                };

            _commonDataAccess.InsertOperationLog(operationLog);
        }