Exemplo n.º 1
0
 public NotificationService(IBucketListsRepository bucketListRepository,
                            IHttpContextAccessor accessor,
                            IActivitiesRepository activitiesRepository,
                            IMapper mapper)
 {
     _bucketListRepository = bucketListRepository;
     _accessor             = accessor;
     _activitiesRepository = activitiesRepository;
     _mapper = mapper;
 }
 public BucketListsService(
     IBucketListsRepository repository,
     IUserRepository userRepository,
     IActivitiesRepository activitiesRepository,
     IHttpContextAccessor accessor
     )
 {
     _bucketListRepository = repository;
     _userRepository       = userRepository;
     _activitiesRepository = activitiesRepository;
     _accessor             = accessor;
 }
 public AuthenticationService(
     IOptions <JwtOptions> config,
     IPasswordHasher passwordHasher,
     IUserRepository userRepository,
     IUserTypeRepository userTypeRepository,
     ICityRepository cityRepository,
     IHttpContextAccessor accessor,
     IBucketListsRepository bucketListRepository)
 {
     _config               = config.Value;
     _passwordHasher       = passwordHasher;
     _userRepository       = userRepository;
     _userTypeRepository   = userTypeRepository;
     _cityRepository       = cityRepository;
     _accessor             = accessor;
     _bucketListRepository = bucketListRepository;
 }