Ejemplo n.º 1
0
        public HistoryTripController(IRepositoryHistoryTrip repositoryHistoryTrip,

                                     IUserService userService)
        {
            _repositoryHistoryTrip = repositoryHistoryTrip;

            _userService = userService;
        }
Ejemplo n.º 2
0
        public TripService(
            IRepositoryTrip tripRepository,
            IRepositoryHistoryTrip repositoryHistoryTrip,

            IHistoryTripService historyTripService,
            IUserService userService,
            IUtilService utilService)
        {
            _repositoryTrip        = tripRepository;
            _repositoryHistoryTrip = repositoryHistoryTrip;

            _historyTripService = historyTripService;
            _utilService        = utilService;
            _userService        = userService;
        }
Ejemplo n.º 3
0
        public TripController(IRepositoryTrip tripRepository,
                              IRepositoryHistoryTrip historyRepository,

                              ITripService tripService,
                              IUtilService utilService,
                              IUserService userService,
                              IUnitOfWorkService unitOfWorkService,

                              IWebHostEnvironment webHostEnvironment)
        {
            _repositoryTrip        = tripRepository;
            _repositoryHistoryTrip = historyRepository;

            _tripService       = tripService;
            _utilService       = utilService;
            _userService       = userService;
            _unitOfWorkService = unitOfWorkService;

            _webHostEnvironment = webHostEnvironment;
        }
Ejemplo n.º 4
0
 public HistoryTripService(IRepositoryHistoryTrip repositoryHistoryTrip)
 {
     _repositoryHistoryTrip = repositoryHistoryTrip;
 }