public UserService(IUnitOfWork unitOfWork, IMapper mapper, IOptions <AppSettings> appSettings, ITokenManager tokenManager,
                    IHttpContextAccessor contextAccessor, IEditRightsService editRightsAuthorization)
 {
     _unitOfWork              = unitOfWork;
     _mapper                  = mapper;
     _appSettings             = appSettings.Value;
     _tokenManager            = tokenManager;
     _contextAccessor         = contextAccessor;
     _editRightsAuthorization = editRightsAuthorization;
 }
示例#2
0
 public AddOnController(IAddOnService addOnService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _addOnService      = addOnService;
     _editRightsService = editRightsService;
     _redisAppSettings  = redisAppSettings.Value;
 }
示例#3
0
 public TripController(ITripService tripService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _tripService       = tripService;
     _editRightsService = editRightsService;
     _redisAppSettings  = redisAppSettings.Value;
 }
示例#4
0
 public EditRightsController(IEditRightsService editRightsService)
 {
     _editRightsService = editRightsService;
 }
 public AccommodationController(IAccommodationService accommodationService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _accommodationService = accommodationService;
     _editRightsService    = editRightsService;
     _redisAppSettings     = redisAppSettings.Value;
 }
 public LocationController(ILocationService locationService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _locationService   = locationService;
     _editRightsService = editRightsService;
     _redisAppSettings  = redisAppSettings.Value;
 }
 public VoteController(IVoteService voteService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _voteService       = voteService;
     _editRightsService = editRightsService;
     _redisAppSettings  = redisAppSettings.Value;
 }
示例#8
0
 public ItemController(IItemService itemService, IEditRightsService editRightsService, IOptions <RedisAppSettings> redisAppSettings)
 {
     _itemService       = itemService;
     _editRightsService = editRightsService;
     _redisAppSettings  = redisAppSettings.Value;
 }