//Operation log
 public virtual void InsertOperationLog(OperationLog operationLog)
 {
     InsertObject(operationLog);
 }
        //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);
        }