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

            _repo = repo;
            Account account = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(account);
        }
Ejemplo n.º 2
0
 public UsersController(IZwajRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
Ejemplo n.º 3
0
 public TemplateGenerator(IZwajRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Ejemplo n.º 4
0
 public UsersController(IZwajRepository repo, IMapper mapper, IOptions <StripeSettings> stripeSettings)
 {
     _stripeSettings = stripeSettings;
     _mapper         = mapper;
     _repo           = repo;
 }
Ejemplo n.º 5
0
 public MessagesController(IZwajRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Ejemplo n.º 6
0
 public UsersController(IZwajRepository repo, IMapper mapper)
 {
     this.mapper = mapper;
     this.repo   = repo;
 }