Пример #1
0
 public AssetService(
     IOptions <AssetSettings> assetSettings,
     IQueueService queueService,
     IGoogleDriveAPI googleDriveAPI)
 {
     _assetSettings  = assetSettings;
     _queueService   = queueService;
     _googleDriveAPI = googleDriveAPI;
 }
Пример #2
0
 public FileController(IGoogleDriveAPI driveAPI,
                       IHostingEnvironment hostingEnvironment,
                       UserManager <ApplicationUser> userManager,
                       IFileStorageRepository fileStorageRepository,
                       ICategoryRepository categoryRepository,
                       IFileCategoryRepository fileCategoryRepository,
                       ApplicationDbContext dbContext)
 {
     _driveAPI               = driveAPI;
     _hostingEnvironment     = hostingEnvironment;
     _userManager            = userManager;
     _fileStorageRepository  = fileStorageRepository;
     _categoryRepository     = categoryRepository;
     _fileCategoryRepository = fileCategoryRepository;
     _dbContext              = dbContext;
 }