Example #1
0
 public UserService(IUserRepository userRepository, IUserInfoRepository userInfoRepository, IUserPreferencesRepository userPreferencesRepository,  IUnitOfWork unitOfWork)
 {
     _userRepository = userRepository;
     _userInfoRepository = userInfoRepository;
     _userPreferencesRepository = userPreferencesRepository;
     _unitOfWork = unitOfWork;
 }
Example #2
0
 public UserPreferenesService(IUserPreferencesRepository repository, IUnitOfWork unitOfWork, IMapper mapper, IImageProcessorService imageProcessorService, IMapper mapper1) : base(repository, unitOfWork, mapper)
 {
     _repository            = repository;
     _unitOfWork            = unitOfWork;
     _imageProcessorService = imageProcessorService;
     _mapper = mapper1;
 }
Example #3
0
 public AccountService(IUserDetailsRepository userDetailsRepository, IUserPreferencesRepository userPreferencesRepository,
                       IUserSnapsRepository userSnapsRepository, IFriendRepository friendsRepository)
 {
     _userDetailsRepository     = userDetailsRepository;
     _userPreferencesRepository = userPreferencesRepository;
     _userSnapsRepository       = userSnapsRepository;
     _friendsRepository         = friendsRepository;
 }
Example #4
0
 public UserService(IUserRepository repository, IUnitOfWork unitOfWork, IGateUsageRepository gateUsageRepository, IPasswordHasher passwordHasher, ITokenService tokenService, ITokenRepository tokenRepository, IUserPreferencesRepository userPreferencesRepository, IMapper mapper)
     : base(repository, unitOfWork, mapper)
 {
     _repository                = repository;
     _unitOfWork                = unitOfWork;
     _gateUsageRepository       = gateUsageRepository;
     _passwordHasher            = passwordHasher;
     _tokenService              = tokenService;
     _tokenRepository           = tokenRepository;
     _userPreferencesRepository = userPreferencesRepository;
     _mapper = mapper;
 }
 public UserPreferencesCommandHandler(
     ILogger <UserPreferencesCommandHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IMapper mapper,
     IUserPreferencesRepository userPreferencesRepository)
 {
     _unitOfWork                = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger                    = logger ?? throw new ArgumentNullException(nameof(logger));
     _identityService           = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _mapper                    = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _userPreferencesRepository = userPreferencesRepository ?? throw new ArgumentNullException(nameof(userPreferencesRepository));
 }
 public CreateUserCommandHandler(IUserRepository userRepository,
                                 IUserAddressRepository userAddressRepository, IUserPreferencesRepository userPreferencesRepository,
                                 IMapper mapper, IEmailService emailService, ILogger <CreateUserCommand> logger,
                                 IEncryptDecryptManager encryptDecryptManager)
 {
     _userRepository            = userRepository;
     _userAddressRepository     = userAddressRepository;
     _userPreferencesRepository = userPreferencesRepository;
     _mapper       = mapper;
     _emailService = emailService;
     _logger       = logger;
     this.encryptDecryptManager = encryptDecryptManager;
 }
Example #7
0
 public FileService(IFileRepository fileRepository, ISemesterSubjectFileRepository semesterSubjectFileRepository, IFileSharedGroupRepository fileSharedGroupRepository,
     IUserSharedFileRepository userSharedFileRepository, IUserRepository userRepository, IUserPreferencesRepository userPreferencesRepository,
     IGroupUserRepository groupUserRepository, IGroupRepository groupRepository, 
     IFileTagPatternRepository fileTagPatternRepository, IUnitOfWork unitOfWork)
 {
     _fileRepository = fileRepository;
     _semesterSubjectFileRepository = semesterSubjectFileRepository;
     _fileSharedGroupRepository = fileSharedGroupRepository;
     _userSharedFileRepository = userSharedFileRepository;
     _userRepository = userRepository;
     _userPreferencesRepository = userPreferencesRepository;
     _groupUserRepository = groupUserRepository;
     _groupRepository = groupRepository;
     _fileTagPatternRepository = fileTagPatternRepository;
     _unitOfWork = unitOfWork;
 }
 public UserPreferencesController(IUserPreferencesRepository repository)
 {
     _repository = repository;
 }
Example #9
0
 public ProductService(IProductRepository productRepository, IUserPreferencesRepository userPreferencesRepository, ISocialFeedRepository socialFeedRepository)
 {
     _productRepository         = productRepository;
     _socialFeedRepository      = socialFeedRepository;
     _userPreferencesRepository = userPreferencesRepository;
 }
Example #10
0
 public UserPreferencesService(IUserPreferencesRepository userPreferencesRepository)
 {
     _userPreferencesRepository = userPreferencesRepository ?? throw new ArgumentNullException(nameof(userPreferencesRepository));
 }
Example #11
0
 public UserPreferencesService(IUserPreferencesRepository userPreferencesRepository)
 {
     this.userPreferencesRepository = userPreferencesRepository;
 }
Example #12
0
 public SaleService(ISaleRepository saleRepository, IProductRepository productRepository, IUserPreferencesRepository userPreferencesRepository)
 {
     _saleRepository            = saleRepository;
     _productRepository         = productRepository;
     _userPreferencesRepository = userPreferencesRepository;
 }