public AutoAddAccountInvoiceController(IAccountInvoiceService accountInvoiceService, IVehiclesInvoiceRepository vehiclesInvoiceRepository, IAccountInvoiceAPIRepository accountInvoiceAPIRepository, IAccountInvoiceViewModelSelectListBuilder accountInvoiceViewModelSelectListBuilder) : base(accountInvoiceService, accountInvoiceViewModelSelectListBuilder) { this.accountInvoiceService = accountInvoiceService; this.vehiclesInvoiceRepository = vehiclesInvoiceRepository; this.accountInvoiceAPIRepository = accountInvoiceAPIRepository; }
public AccountInvoicesController(IAccountInvoiceService accountInvoiceService, IAccountInvoiceViewModelSelectListBuilder accountInvoiceViewModelSelectListBuilder, ICustomerRepository customerRepository) : base(accountInvoiceService, accountInvoiceViewModelSelectListBuilder, true, true) { this.customerRepository = customerRepository; }