public AuthController(IAuthRepository repo, IConfiguration config,
                       IMapper mapper, IFileManagerRepository fmrepo)
 {
     _fmrepo = fmrepo;
     _mapper = mapper;
     _repo   = repo;
     _config = config;
 }
Beispiel #2
0
        public FilesController(IFileManagerRepository repository, IMapper mapper,
                               IOptions <AzureSettings> azureConfig)
        {
            _mapper = mapper;
            _repo   = repository;

            CloudStorageAccount account = CloudStorageAccount.Parse(azureConfig.Value.ConnectionString);

            serviceClient = account.CreateCloudBlobClient();

            azureContainer = serviceClient.GetContainerReference(azureConfig.Value.Container);
        }
 public FileManagerController(IFileManagerRepository repository)
 {
     this.repository = repository;
 }
 public FMAdminsController(IFileManagerRepository repository, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repository;
 }
Beispiel #5
0
 public UsersController(IFileManagerRepository repo, IMapper mapper)
 {
     _mapper = mapper;
     _repo   = repo;
 }
 public FileManagerController(IFileManagerRepository repository)
 {
     this.repository = repository;
 }
 public FileManagerService(IFileManagerRepository fileRepo)
 {
     _fileRepo = fileRepo;
 }