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 GetProductByIdHandle(IPersonRepositoryAsync repositoryAsync)
 {
     this.repositoryAsync = repositoryAsync;
 }
Ejemplo n.º 3
0
 public CreatePersonCommandHandler(IPersonRepositoryAsync repository, IMapper mapper)
 {
     _personRepositoryAsync = repository;
     _mapper = mapper;
 }
Ejemplo n.º 4
0
 public PersonServiceAsync(IPersonRepositoryAsync personRepository)
 {
     this.personRepository = personRepository;
 }
Ejemplo n.º 5
0
 public DeletePersonByIdHandler(IPersonRepositoryAsync repository)
 {
     _personRepositoryAsync = repository;
 }
Ejemplo n.º 6
0
 public GetAllPersonsQueryHandler(IPersonRepositoryAsync repositoryAsync, IMapper mapper)
 {
     _repository = repositoryAsync;
     _mapper     = mapper;
 }
Ejemplo n.º 7
0
 public GetAllPeopleQueryHandler(IMapper mapper, IApplicationDbContext context, IPersonRepositoryAsync personRepository)
 {
     _mapper           = mapper;
     _context          = context;
     _personRepository = personRepository;
 }
Ejemplo n.º 8
0
 public GetChartQueryHandler(IPersonRepositoryAsync repositoryAsync)
 {
     _repository = repositoryAsync;
 }