Ejemplo n.º 1
0
 public CreateInvoiceCommandHandler(IInvoiceRepositoryAsync invoiceRepository, IProductRepositoryAsync productRepository, IPersonRepositoryAsync personRepositoryAsync, IInvoiceDetailRepositoryAsync invoiceDetailRepository, IEmailScheduler emailScheduler)
 {
     _invoiceRepository       = invoiceRepository;
     _personRepository        = personRepositoryAsync;
     _productRepository       = productRepository;
     _invoiceDetailRepository = invoiceDetailRepository;
     _emailScheduler          = emailScheduler;
 }
Ejemplo n.º 2
0
 public SaveInvoiceHandler(IInvoiceRepositoryAsync invoiceRepository, IMapper mapper)
 {
     _invoiceRepository = invoiceRepository;
     _mapper            = mapper;
 }