Пример #1
0
 public PatientDiscovery(
     IMatchingRepository matchingRepository,
     IDiscoveryRequestRepository discoveryRequestRepository,
     ILinkPatientRepository linkPatientRepository,
     IPatientRepository patientRepository,
     ILogger <PatientDiscovery> logger)
 {
     this.matchingRepository         = matchingRepository;
     this.discoveryRequestRepository = discoveryRequestRepository;
     this.linkPatientRepository      = linkPatientRepository;
     this.patientRepository          = patientRepository;
     this.logger = logger;
 }
Пример #2
0
        public PhotosController(IMatchingRepository repo,
                                IMapper mapper,
                                IOptions <CloudinarySettings> cloudinaryConfig)
        {
            this._repo             = repo;
            this._mapper           = mapper;
            this._cloudinaryConfig = cloudinaryConfig;

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

            _cloudinary = new Cloudinary(account);
        }
Пример #3
0
 // private readonly IConfiguration _config;
 public CarModelsController(IMatchingRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
     // _config = config;
 }
 public MatchController()
 {
     _vagaRepository      = new VagaRepository();
     _candidatoRepository = new CandidatoRepository();
     _matchingRepository  = new MatchingRepository();
 }
 public CarModelMessagesController(IMatchingRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }