public Service(Data.IBillingAccountRepository accountRepository, Data.ISubscriptionRepository subscriptionRepository, Data.IInvoiceRepository invoiceRepository, Data.ITransactionRepository transactionRepository) { Accounts = accountRepository; Subscriptions = subscriptionRepository; Invoices = invoiceRepository; Transactions = transactionRepository; }
public Service(Data.IBillingAccountRepository accountRepository) { Accounts = accountRepository; }
public Service(string connectionString) { Accounts = new Data.BillingAccountRepository(connectionString); }