public PhotoProductController(ICPRepository repo, IMapper mapper, IOptions <CloudinarySetting> cloudinaryConfig)
        {
            _cloudinaryConfig = cloudinaryConfig;
            _mapper           = mapper;
            _repo             = repo;
            Account acc = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(acc);
        }
 public ShipperController(ICPRepository repo, IMapper mapper, DataContext data)
 {
     _data   = data;
     _mapper = mapper;
     _repo   = repo;
 }
 public OrderDetailController(ICPRepository repo, IMapper mapper, DataContext data)
 {
     _data   = data;
     _mapper = mapper;
     _repo   = repo;
 }
Example #4
0
 public SocialCommunicationsController(ICPRepository repo, IMapper mapper, DataContext data)
 {
     _data   = data;
     _mapper = mapper;
     _repo   = repo;
 }
Example #5
0
 public CustomerController(ICPRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
 public UserController(ICPRepository repo, IMapper mapper, IOptions <StripeSettings> stripeSettings)
 {
     _repo           = repo;
     _mapper         = mapper;
     _stripeSettings = stripeSettings;
 }