Esempio n. 1
0
        public MessagesController(IDccRepository rebo, IMapper mapper, IWebSocketService webSocketService)
        {
            _mapper = mapper;
            _rebo   = rebo;

            _webSocketService = webSocketService;
        }
Esempio n. 2
0
        public PhotoController(IDccRepository repo,
                               IMapper mapper,
                               IOptions <CloudinarySettings> cloudinaryConfig)
        {
            _repo             = repo;
            _mapper           = mapper;
            _cloudinaryConfig = cloudinaryConfig;
            Account acc = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret
                );

            _cloudinary = new Cloudinary(acc);
        }
 public SignalRWebSocketService(IHubContext <ChatHub, IChatHub> hubContext,
                                IDccRepository repo)
 {
     _hubContext = hubContext;
     _repo       = repo;
 }
Esempio n. 4
0
 public AuthRepository(DataContext context, IDccRepository repo)
 {
     _context = context;
     _repo    = repo;
 }
Esempio n. 5
0
 public DiagnosisRepository(DataContext context, IDccRepository repo)
 {
     _context = context;
     _repo    = repo;
 }
Esempio n. 6
0
 public UsersController(IDccRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
Esempio n. 7
0
 public DiagnosisController(IDccRepository repo, DataContext context, IMapper mapper, IDiagnosisRepository diag)
 {
     _diag   = diag;
     _mapper = mapper;
     _repo   = repo;
 }