public UpdateVotationStatusCommandHandler(IVotationService votationService) { _votationService = votationService; }
public CreateVotationCommandHandler(IVotationService votationSevice, ICatalogService catalogService, IMapper mapper) { _votationSevice = votationSevice; _catalogService = catalogService; _mapper = mapper; }
public GetAllVotationsQueryHandler(IVotationService votationService) { _votationService = votationService; }
public GetVotesCountByVotationIdQueryHandler(IVoteService service, IVotationService votationService, IMapper mapper) { _service = service; _votationService = votationService; _mapper = mapper; }
public GetVotationByIdQueryHandler(IVotationService service, IMapper mapper) { _service = service; _mapper = mapper; }