Пример #1
0
 public UpdateVotationStatusCommandHandler(IVotationService votationService)
 {
     _votationService = votationService;
 }
Пример #2
0
 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;
 }