예제 #1
0
 public AuthService
 (
     IUserRepository userRepository,
     IRefreshTokenProvider authCacheManager,
     IPasswordHasher hasher,
     IEmailService emailService,
     IUserService userService,
     IJwtSecret jwtSecret,
     IMapper mapper,
     ICacheManager <Guid> cache,
     IResetPasswordSettings resetPasswordSettings,
     IUserAchievementRepository userAchievementRepository,
     IStringLocalizer <HtmlPages> stringLocalizer
 )
 {
     _userRepository       = userRepository;
     _refreshTokenProvider = authCacheManager;
     _hasher                    = hasher;
     _emailService              = emailService;
     _userService               = userService;
     _jwtSecret                 = jwtSecret;
     _mapper                    = mapper;
     _cache                     = cache;
     _resetPasswordSettings     = resetPasswordSettings;
     _userAchievementRepository = userAchievementRepository;
     _stringLocalizer           = stringLocalizer;
 }
예제 #2
0
 public AchievementService
 (
     IUserRepository userRepository,
     IUserAchievementRepository userAchievementRepository,
     IAchievementRepository achievementRepository,
     IFileService fileService,
     IMapper mapper,
     IUnitOfWork unitOfWork
 )
 {
     _userRepository            = userRepository;
     _userAchievementRepository = userAchievementRepository;
     _achievementRepository     = achievementRepository;
     _fileService = fileService;
     _mapper      = mapper;
     _unitOfWork  = unitOfWork;
 }
예제 #3
0
 public UserAchievementService
 (
     IUserRepository userRepository,
     IAchievementRepository achievementRepository,
     IUserAchievementRepository userAchievementsRepository,
     IEventRepository eventRepository,
     IUnitOfWork unitOfWork,
     IMapper mapper
 )
 {
     _userRepository            = userRepository;
     _achievementRepository     = achievementRepository;
     _userAchievementRepository = userAchievementsRepository;
     _eventRepository           = eventRepository;
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
예제 #4
0
 public AchievementService(
     IOptions <AchievementsConfig> options,
     IUserAchievementRepository userAchievementRepository,
     IAchievementRepository achievementRepository,
     IMealRepository mealRepository,
     IFavouriteRepository favouriteRepository,
     IMealIngredientRepository mealIngredientRepository,
     IFriendRepository friendRepository,
     IMealScheduleRepository mealScheduleRepository,
     IActivityService activityService,
     IMapper mapper)
 {
     achievementsConfig         = options.Value;
     _userAchievementRepository = userAchievementRepository;
     _achievementRepository     = achievementRepository;
     _mealRepository            = mealRepository;
     _friendRepository          = friendRepository;
     _mealScheduleRepository    = mealScheduleRepository;
     _activityService           = activityService;
     _mapper = mapper;
 }
예제 #5
0
 public UserService
 (
     IUserRepository userRepository,
     IFileService fileService,
     IRoleRepository roleRepository,
     IMapper mapper,
     IUnitOfWork unitOfWork,
     IPasswordHasher hasher,
     IStringLocalizer <HtmlPages> stringLocalizer,
     IEmailService emailService,
     IUserAchievementRepository userAchievementRepository
 )
 {
     _userRepository            = userRepository;
     _fileService               = fileService;
     _roleRepository            = roleRepository;
     _mapper                    = mapper;
     _unitOfWork                = unitOfWork;
     _hasher                    = hasher;
     _stringLocalizer           = stringLocalizer;
     _emailService              = emailService;
     _userAchievementRepository = userAchievementRepository;
 }
예제 #6
0
 public UserAchievementService(IUserAchievementRepository userAchievementRepository, IUnitOfWork unitOfWork)
 {
     _userAchievementRepository = userAchievementRepository;
     _unitOfWork = unitOfWork;
 }
 public AchievementService(IAchievementRepository achievementRepository, IUnitOfWork unitOfWork, IUserAchievementRepository userAchievementRepository)
 {
     _achievementRepository     = achievementRepository;
     _unitOfWork                = unitOfWork;
     _userAchievementRepository = userAchievementRepository;
 }