예제 #1
0
 /// <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;
     }
 }
예제 #2
0
 /// <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);
 }