/// <summary> /// Initializes a new instance of the <see cref="ContractLogLogic"/> class. /// </summary> public ContractLogLogic(IContractLogRepository contractLogsRepository) { _contractLogsRepository = contractLogsRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ContractLogLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public ContractLogLogic(string connectionString) { _contractLogsRepository = Factory.CreateInstance <IContractLogRepository>(connectionString, true); }