public TravellerService(IUnitOfWork unitOfWork, ITravellerRepository repository) : base(unitOfWork, repository) { }
public TravellerService(ITravellerRepository travellerRepository, IPassRepository passRepository, IJwtFactory jwtFactory, IMessageHandler messageHandler, ILoggerManager logger, IMapper mapper) : base(messageHandler, mapper, logger, jwtFactory) { _travellerRepository = travellerRepository; _passRepository = passRepository; }
private void resetRepositories() { _travellerRepository = null; }
public TravellerController() { this.repo = new TravellerRepository(); }
public TravellerController(ITravellerRepository repository, IMapper mapper) { _travellerRepository = repository; _mapper = mapper; }