public CategoryService(IUnitOfWork unitOfWork, IMapper mapper, ISenderToQueueElasticUpdate senderToElastic) { _database = unitOfWork; _mapper = mapper; _senderToElastic = senderToElastic; }
public ServiceCreator(ApplicationContext context, IMapper mapper, ISenderToQueueElasticUpdate senderToQueueElastic = null) { _context = context; _mapper = mapper; _senderToQueueElastic = senderToQueueElastic; }