Пример #1
0
 public AddChargeStationCommandHandler(IChargeGroupRepository groupRepository,
                                       IChargeStationRepository stationRepository, IMapper mapper)
 {
     _groupRepository   = groupRepository;
     _stationRepository = stationRepository;
     _mapper            = mapper;
 }
Пример #2
0
 public DeleteChargeStationCommandHandler(IChargeStationRepository stationRepository, IChargeGroupRepository groupRepository)
 {
     _stationRepository = stationRepository;
     _groupRepository   = groupRepository;
 }
 public GetChargeGroupQueryHandler(IChargeGroupRepository chargeGroupRepository, IMapper mapper)
 {
     _chargeGroupRepository = chargeGroupRepository;
     _mapper = mapper;
 }
Пример #4
0
 public AddChargeGroupCommandHandler(IChargeGroupRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public UpdateChargeGroupCommandHandler(IChargeGroupRepository chargeGrouprepository, IMapper mapper)
 {
     _chargeGrouprepository = chargeGrouprepository;
     _mapper = mapper;
 }