public static bool CreateAudit(BOUser user, string type, string description)
 {
     try
     {
         BOUserAudit audit = new BOUserAudit();
         audit.User = user;
         audit.Type = type;
         audit.Description = description;
         audit.Save();
         return true;
     }
     catch (Exception ex)
     {
         logger.ErrorException(string.Format("Failed to create audit of type {0}: {1}", type, description), ex);
         return false;
     }
 }
 public BOUserAuditComparer(BOUserAudit.Columns column, BOUserAudit.SortDirections direction)
 {
     _column = column;
     _direction = direction;
 }