public AddressExtensionController(
     IAddressRepo addressRepo,
     IMapper mapper)
 {
     _addressRepo = addressRepo;
     _mapper      = mapper;
 }
Example #2
0
 public ProductController(IUserRepo _iUserRepo, IAddressRepo _iAddressRepo, IProductRepo _iProductRepo, IProductOfferRepo _iProductOfferRepo)
 {
     iUserRepo         = _iUserRepo;
     iAddressRepo      = _iAddressRepo;
     iProductRepo      = _iProductRepo;
     iProductOfferRepo = _iProductOfferRepo;
 }
 public AddressesController(IAddressRepo addressRepo,
                            ILogger <AddressesController> log,
                            IMapper mapper)
 {
     this._addressRepo = addressRepo;
     this._log         = log;
     this._mapper      = mapper;
 }
Example #4
0
 protected override void Initialize(System.Web.Routing.RequestContext requestContext)
 {
     base.Initialize(requestContext);
     if (OTSession.OperationalClient != null)
     {
         _addressRepo = RepoGetter <AddressRepo> .Get(OTSession.LoginedUserName, OTSession.RealClient.Id, OTSession.OperationalClient.Id);
     }
 }
Example #5
0
 public UserController(IUserRepo repoUser, IAddressRepo repoAddress, IMapper mapper, IConfiguration config_)
 {
     _repositoryPerson  = repoUser;
     _repositoryAddress = repoAddress;
     _mapper            = mapper;
     _configuration     = config_;
     simpleHash         = new SimpleHash();
 }
Example #6
0
        public Addresses(ILogger <Addresses> logger, IMapper mapper, IAddressRepo addressRepo)
        {
            logger.CheckNull();
            mapper.CheckNull();
            addressRepo.CheckNull();

            _logger      = logger;
            _mapper      = mapper;
            _addressRepo = addressRepo;
        }
Example #7
0
 public AddressController(
     IMapper mapper, IAddressRepo addressRepo)
 {
     _mapper      = mapper;
     _addressRepo = addressRepo;
 }
Example #8
0
 public AddressController(IAddressRepo addressRepo)
 {
     _repo = addressRepo;
 }
Example #9
0
 public AddressService(IAddressRepo addressRepo) : base(addressRepo)
 {
     this.addressRepo = addressRepo;
 }
 public UpdateAddressHandler(IAddressRepo addressRepo)
 {
     _addressRepo = addressRepo;
 }
Example #11
0
 public AddressController(IAddressRepo addressRepo, IMapper mapper)
 {
     _addrRepo   = addressRepo;
     _addrMapper = mapper;
 }
 public AddressBookService(IUserAddressRepo uRepo, IAddressRepo aRepo)
 {
     userRepo = uRepo;
     addrRepo = aRepo;
 }
 public AddAddressHandler(IAddressRepo addressRepo)
 {
     _addressRepo = addressRepo;
 }
 public AddressApiController(IAddressRepo repo)
 {
     _repo = repo;
 }
 public AddressController(IAddressRepo repo)
 {
     _repo = repo ?? throw new ArgumentNullException(nameof(_repo));
 }
Example #16
0
 public AddressController(IAddressRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public GetAddressByIdHandler(IAddressRepo addressRepo)
 {
     _addressRepo = addressRepo;
 }
Example #18
0
 public DeleteAddressHandler(IAddressRepo addressRepo)
 {
     _addressRepo = addressRepo;
 }
Example #19
0
 public GetAddressesPageHandler(IAddressRepo addressRepo, IApiSpecificSettings apiSpecificSettings)
 {
     _addressRepo         = addressRepo;
     _apiSpecificSettings = apiSpecificSettings;
 }
 public CountriesController(IAddressRepo repo)
 {
     _myRepo = repo;
 }
 public DataService(IUserRepo uRepo, IAddressRepo aRepo)
 {
     userRepo = uRepo;
     addressRepo = aRepo;
 }
Example #22
0
 public AddressController(IAddressRepo repo)
 {
     this.repo = repo;
 }