/// <summary> /// Initializes a new instance of the <see cref="PaymentTableLogic"/> class. /// </summary> /// <param name="paymentTableRepository">The payment table repository.</param> public PaymentTableLogic(IPaymentTableRepository paymentTableRepository) { if (paymentTableRepository != null) { _paymentTableRepository = paymentTableRepository; } }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTableLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public PaymentTableLogic(string connectionString) { _paymentTableRepository = Factory.CreateInstance <IPaymentTableRepository>(connectionString, true); }