Ejemplo n.º 1
0
 public CategoryService(IUnitOfWork unitOfWork, IMapper mapper, ISenderToQueueElasticUpdate senderToElastic)
 {
     _database        = unitOfWork;
     _mapper          = mapper;
     _senderToElastic = senderToElastic;
 }
Ejemplo n.º 2
0
 public ServiceCreator(ApplicationContext context, IMapper mapper, ISenderToQueueElasticUpdate senderToQueueElastic = null)
 {
     _context = context;
     _mapper  = mapper;
     _senderToQueueElastic = senderToQueueElastic;
 }