예제 #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;
 }