Ejemplo n.º 1
0
        public AvatarController(ITradingRepository repo, IMapper mapper,
                                IOptions <CloudinarySettings> cloudinaryConfig)
        {
            _cloudinaryConfig = cloudinaryConfig;
            _mapper           = mapper;
            _repo             = repo;

            Account acc = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(acc);
        }
Ejemplo n.º 2
0
 public ProductService(ITradingRepository <ProductEntity> productRepository, ILog log)
 {
     _productRepository = productRepository;
     _log = log;
 }
Ejemplo n.º 3
0
 public ListingsController(ITradingRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
Ejemplo n.º 4
0
 public TradingService(ITradingRepository tradingRepository)
 {
     _tradingRepository = tradingRepository;
 }
Ejemplo n.º 5
0
        public AreaService(ITradingRepository<AreaEntity> areaRepository, ILog log)
		{
			_areaRepository = areaRepository;
			_log = log;
		}
Ejemplo n.º 6
0
 public MessagesController(ITradingRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Ejemplo n.º 7
0
 public AreaService(ITradingRepository <AreaEntity> areaRepository, ILog log)
 {
     _areaRepository = areaRepository;
     _log            = log;
 }
Ejemplo n.º 8
0
 public ProductService(ITradingRepository<ProductEntity> productRepository, ILog log)
 {
     _productRepository = productRepository;
     _log = log;
 }
Ejemplo n.º 9
0
 public TradingContentService(ITradingRepository tradingRepository)
 {
     this.tradingRepository = tradingRepository;
 }
Ejemplo n.º 10
0
 public CommissionRatioService(ITradingRepository <CommissionRatioEntity> commissionRatioRepository, ILog log)
 {
     _commissionRatioRepository = commissionRatioRepository;
     _log = log;
 }
Ejemplo n.º 11
0
 public CommissionRatioService(ITradingRepository<CommissionRatioEntity> commissionRatioRepository,ILog log)
 {
     _commissionRatioRepository = commissionRatioRepository;
     _log = log;
 }