Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTypePerCaseLogic"/> class.
 /// </summary>
 /// <param name="paymentTypePerCaseDetailsRepository">The payment type per case details repository.</param>
 public PaymentTypePerCaseLogic(IPaymentTypePerCaseRepository paymentTypePerCaseDetailsRepository)
 {
     if (paymentTypePerCaseDetailsRepository != null)
     {
         _paymentTypePerCaseDetailsRepository = paymentTypePerCaseDetailsRepository;
     }
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTypePerCaseLogic"/> class.
 /// </summary>
 /// <param name="connectionString">The connection string.</param>
 public PaymentTypePerCaseLogic(string connectionString)
 {
     _paymentTypePerCaseDetailsRepository = Factory.CreateInstance <IPaymentTypePerCaseRepository>(connectionString, true);
 }