/// <summary> /// Initializes a new instance of the <see cref="AuditLogReportLogic"/> class. /// </summary> /// <param name="auditLogReportRepository">The audit log report repository.</param> public AuditLogReportLogic(IAuditLogReportRepository auditLogReportRepository) { if (auditLogReportRepository != null) { _auditLogReportRepository = auditLogReportRepository; } }
/// <summary> /// Initializes a new instance of the <see cref="AuditLogReportLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public AuditLogReportLogic(string connectionString) { _auditLogReportRepository = Factory.CreateInstance <IAuditLogReportRepository>(connectionString, true); }