public UserService(IUserAddressRepository userAddressRepository, IUserRepository userRepository, IUserInfoRepository userInfoRepository, IUnitOfWork unitOfWork) { _userAddressRepository = userAddressRepository; _userRepository = userRepository; _userInfoRepository = userInfoRepository; _unitOfWork = unitOfWork; }
public void MyTestInitialize() { this.scope = new TransactionScope(TransactionScopeOption.RequiresNew); var context = new FactWebContext(); this.repository = new UserAddressRepository(context); }
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; }
public AddressService(IUserAddressRepository userAddressRepository, ILogger <AddressService> logger) { _userAddressRepository = userAddressRepository ?? throw new ArgumentNullException(nameof(UserAddressRepository));; _logger = logger; }
public UserAddressService(IUserAddressRepository userAddressRepository) { _userAddressRepository = userAddressRepository; }
public UserAddressService(IUserAddressRepository repository, IUnitOfWork unitOfWork) { _repository = repository; _unitOfWork = unitOfWork; }
public UserAddressService(IUserAddressRepository repository) : base(repository) { }
public UserAddressService(IUserAddressRepository IUserAddressRepository) { this.IUserAddressRepository = IUserAddressRepository; }
public UserAddressService(IUserAddressRepository UserAddressRepository) { this.UserAddressRepository = UserAddressRepository; }
/// <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; }
public UserAddressService(IUserAddressRepository userAddress) { _userAddress = userAddress; }
public UserDemographicsDataService(IUserRepository userRepository, IUserAddressRepository userAddressRepository) { _userRepository = userRepository; _userAddressRepository = userAddressRepository; }
public UserAddressDetailService(IUserAddressRepository userAddressRepository, IUnitOfWork unitOfWork) { this._userAddressRepository = userAddressRepository; _unitOfWork = unitOfWork; }
public AdminAddressesController(IUserAddressRepository repo) { repository = repo; }