public PaymentTypeMedicareIpLogic(IPaymentTypeMedicareIpRepository paymentTypeMedicareIpDetailsRepository) { if (paymentTypeMedicareIpDetailsRepository != null) { _medicareIpDetailsRepository = paymentTypeMedicareIpDetailsRepository; } }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTypeMedicareIpLogic"/> class. /// </summary> /// <param name="connectionString">The connection string.</param> public PaymentTypeMedicareIpLogic(string connectionString) { _medicareIpDetailsRepository = Factory.CreateInstance <IPaymentTypeMedicareIpRepository>(connectionString, true); }