/// <summary> /// Initializes a new instance of the <see cref="PaymentTypeLesserOfLogic"/> class. /// </summary> /// <param name="paymentTypeLesserOfRepository">The payment type lesser of repository.</param> public PaymentTypeLesserOfLogic(IPaymentTypeLesserOfRepository paymentTypeLesserOfRepository) { if (paymentTypeLesserOfRepository != null) { _paymentTypeLesserOfRepository = paymentTypeLesserOfRepository; } }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTypeLesserOfLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public PaymentTypeLesserOfLogic(string connectionString) { _paymentTypeLesserOfRepository = Factory.CreateInstance <IPaymentTypeLesserOfRepository>(connectionString, true); }