public PhotosController(
            IBSRepository repo,
            IMapper mapper,
            IOptions <CloudinarySettings> cloudinaryConfig)
        {
            this.repo             = repo;
            this.mapper           = mapper;
            this.cloudinaryConfig = cloudinaryConfig;

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

            this.cloudinary = new Cloudinary(acc);
        }
 public UsersController(IBSRepository repo, IMapper mapper)
 {
     this.mapper = mapper;
     this.repo   = repo;
 }
 public MessagesController(IBSRepository repo, IMapper mapper)
 {
     this.repo   = repo;
     this.mapper = mapper;
 }
 public UnitTest1()
 {
     _dataLib    = new DataAccessLibrary();
     _repository = new BSRepository();
 }