Пример #1
0
 public UserService(IUserAddressRepository userAddressRepository, IUserRepository userRepository, IUserInfoRepository userInfoRepository, IUnitOfWork unitOfWork)
 {
     _userAddressRepository = userAddressRepository;
     _userRepository = userRepository;
     _userInfoRepository = userInfoRepository;
     _unitOfWork = unitOfWork;
 }
Пример #2
0
        public void MyTestInitialize()
        {
            this.scope = new TransactionScope(TransactionScopeOption.RequiresNew);

            var context = new FactWebContext();

            this.repository = new UserAddressRepository(context);
        }
Пример #3
0
 public AddressController(IAddressRepository addressRepository,
                          ICityRepository cityRepository,
                          ICountryRepository countryRepository,
                          IUserAddressRepository userAddressRepository,
                          IUserRepository userRepository)
 {
     _addressRepository     = addressRepository;
     _cityRepository        = cityRepository;
     _countryRepository     = countryRepository;
     _userAddressRepository = userAddressRepository;
     _userRepository        = userRepository;
 }
 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;
 }
Пример #5
0
 public AddressService(IUserAddressRepository userAddressRepository, ILogger <AddressService> logger)
 {
     _userAddressRepository = userAddressRepository ?? throw new ArgumentNullException(nameof(UserAddressRepository));;
     _logger = logger;
 }
Пример #6
0
 public UserAddressService(IUserAddressRepository userAddressRepository)
 {
     _userAddressRepository = userAddressRepository;
 }
Пример #7
0
 public UserAddressService(IUserAddressRepository repository, IUnitOfWork unitOfWork)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
 }
Пример #8
0
 public UserAddressService(IUserAddressRepository repository) : base(repository)
 {
 }
Пример #9
0
 public UserAddressService(IUserAddressRepository IUserAddressRepository)
 {
     this.IUserAddressRepository = IUserAddressRepository;
 }
Пример #10
0
 public UserAddressService(IUserAddressRepository UserAddressRepository)
 {
     this.UserAddressRepository = UserAddressRepository;
 }
Пример #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserService"/> class.
 /// </summary>
 /// <param name="userAddressRepository">The user address repository.</param>
 /// <param name="addressRepository">The address repository.</param>
 public UserService(IUserAddressRepository userAddressRepository, IAddressRepository addressRepository)
 {
     _userAddressRepository = userAddressRepository;
     _addressRepository     = addressRepository;
 }
Пример #12
0
 public UserAddressService(IUserAddressRepository userAddress)
 {
     _userAddress = userAddress;
 }
Пример #13
0
 public UserDemographicsDataService(IUserRepository userRepository, IUserAddressRepository userAddressRepository)
 {
     _userRepository        = userRepository;
     _userAddressRepository = userAddressRepository;
 }
Пример #14
0
 public UserAddressDetailService(IUserAddressRepository userAddressRepository, IUnitOfWork unitOfWork)
 {
     this._userAddressRepository = userAddressRepository;
     _unitOfWork = unitOfWork;
 }
Пример #15
0
 public AdminAddressesController(IUserAddressRepository repo)
 {
     repository = repo;
 }