Exemplo n.º 1
0
 public InvoiceService(IInvoiceRepository invoiceRepository, IInvoiceNumberService invoiceNumberService,
                       IQueryLastInvoices queryLastInvoices, ILoginService loginService)
 {
     _invoiceRepository    = invoiceRepository;
     _invoiceNumberService = invoiceNumberService;
     _queryLastInvoices    = queryLastInvoices;
     _loginService         = loginService;
 }
Exemplo n.º 2
0
 public InvoiceController(
     IInvoiceNumberService invoiceNumberService,
     IClientService clientService,
     IProductService productService)
 {
     _invoiceNumberService = invoiceNumberService;
     _clientService        = clientService;
     _productService       = productService;
 }