public static object GetObject(IAuditLogObject auditLogObj) { var obj = auditLogObj as AuditLogObject; return(obj != null ? obj.Object : auditLogObj); }
public static object GetObject(IAuditLogObject auditLogObj) { return(auditLogObj is AuditLogObject obj ? obj.Object : auditLogObj); }