Example #1
0
 public void AddEntry(Guid subjectId, string subjectName, string summary)
 {
     if (authenticatedUser.IsSystemUser)
     {
         auditTrailService.CreateEntry(subjectId, summary, subjectName, authenticatedUser.UserName);
     }
     else
     {
         auditTrailService.CreateEntry(subjectId, authenticatedUser.UserId, summary, subjectName, authenticatedUser.UserName);
     }
 }