Пример #1
0
        public FototController(IDepoTakimesh depo, IMapper mapper,
                               IOptions <ClaudinarySettings> cloudinaryConfig)
        {
            _cloudinaryConfig = cloudinaryConfig;
            _mapper           = mapper;
            _depo             = depo;

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

            _cloudinary = new Cloudinary(acc);
        }
Пример #2
0
 public PerdoruesitController(IDepoTakimesh depo, IMapper mapper)
 {
     _mapper = mapper;
     _depo   = depo;
 }
Пример #3
0
 public MesazhetController(IDepoTakimesh depo, IMapper mapper)
 {
     _depo   = depo;
     _mapper = mapper;
 }