public UserMustBeTourManagerRequirementHandler(
     ITourManagementRepository tourManagementRepository,
     IUserInfoService userInfoService)
 {
     _tourManagementRepository = tourManagementRepository;
     _userInfoService          = userInfoService;
 }
 public ToursController(ITourManagementRepository tourManagementRepository)
 {
     _tourManagementRepository = tourManagementRepository;
 }
Exemple #3
0
 public ToursController(ITourManagementRepository tourManagementRepository, IUserInfoService userInfoService)
 {
     _tourManagementRepository = tourManagementRepository;
     _userInfoService          = userInfoService;
 }
 public ShowCollectionsController(ITourManagementRepository tourManagementRepository)
 {
     _tourManagementRepository = tourManagementRepository;
 }
 public ToursController(ITourManagementRepository repository, IUserInfoService userInfoService, IMapper mapper)
 {
     this.repository      = repository ?? throw new ArgumentNullException(nameof(repository));
     this.mapper          = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.userInfoService = userInfoService ?? throw new ArgumentNullException(nameof(userInfoService));
 }
Exemple #6
0
 public ManagersController(ITourManagementRepository repository, IMapper mapper)
 {
     this.repository = repository ?? throw new ArgumentNullException(nameof(repository));
     this.mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public IsTourManagerRequirementHandler(IUserInfoService userInfoService, ITourManagementRepository tourManagementRepository)
 {
     _userInfoService          = userInfoService;
     _tourManagementRepository = tourManagementRepository;
 }
 public UserMustBeTourManagerRequirementHandler(ITourManagementRepository tmr, IUserInfoService uis)
 {
     _tourManagementRepository = tmr;
     _userInfoService          = uis;
 }
Exemple #9
0
 public ShowCollectionsController(ITourManagementRepository tourManagementRepository, IMapper mapper)
 {
     _tourManagementRepository = tourManagementRepository;
     _mapper = mapper;
 }