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); }
public UsersController(IZwajRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }
public TemplateGenerator(IZwajRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public UsersController(IZwajRepository repo, IMapper mapper, IOptions <StripeSettings> stripeSettings) { _stripeSettings = stripeSettings; _mapper = mapper; _repo = repo; }
public MessagesController(IZwajRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public UsersController(IZwajRepository repo, IMapper mapper) { this.mapper = mapper; this.repo = repo; }