Example #1
0
 public TravelPassengerService(RideShareContext context, IMapper mapper, IUserService userService, ITravelPlanService travelPlanService)
 {
     _context           = context;
     _mapper            = mapper;
     _userService       = userService;
     _travelPlanService = travelPlanService;
 }
Example #2
0
 public TravelPlanInvitationService(IPlanInvitationRepository planInvitationRepository,
                                    ITravelPlanService travelPlanService,
                                    ITravelPlanRepository travelPlanRepository,
                                    IUserRepository userRepository)
 {
     _planInvitationRepository = planInvitationRepository;
     _travelPlanService        = travelPlanService;
     _travelPlanRepository     = travelPlanRepository;
     _userRepository           = userRepository;
 }
Example #3
0
 public TravelPlanController(IUserRepository userRepository,
                             IUserTravelPlanService userTravelPlanService,
                             ITravelPlanInvitationService travelPlanInvitationService,
                             ITravelPlanService travelPlanService)
 {
     _userRepository              = userRepository;
     _userTravelPlanService       = userTravelPlanService;
     _travelPlanInvitationService = travelPlanInvitationService;
     _travelPlanService           = travelPlanService;
 }
Example #4
0
 public TPActivityService(AppDbContext dbContext, ITravelPlanService travelPlanService, ITravelPlanActivityRepository travelPlanActivityRepository)
 {
     _dbContext                    = dbContext;
     _travelPlanService            = travelPlanService;
     _travelPlanActivityRepository = travelPlanActivityRepository;
 }
Example #5
0
 public TravelPlanController(ITravelPlanService travelPlanService)
 {
     _travelPlanService = travelPlanService ?? throw new ArgumentNullException(nameof(travelPlanService));
 }
 public TPAnnouncementService(AppDbContext dbContext, ITravelPlanService travelPlanService, ITPAnnouncementRepository announcementRepository)
 {
     _dbContext              = dbContext;
     _travelPlanService      = travelPlanService;
     _announcementRepository = announcementRepository;
 }
Example #7
0
 public HomeController(IEmployeeService employeeService, ICarService carService, ITravelPlanService travelPlanService)
 {
     _employeeService   = employeeService;
     _carService        = carService;
     _travelPlanService = travelPlanService;
 }
Example #8
0
 private ICarStatisticsService CarStatisticServiceFactory(ITravelPlanService travelPlanService) => new CarStatisticService(travelPlanService);
 public TravelPlanController(ITravelPlanService travelPlanService)
 {
     _travelPlanService = travelPlanService;
 }
Example #10
0
 public CarStatisticService(ITravelPlanService travelPlanService)
 {
     _travelPlanService = travelPlanService;
 }