Exemplo n.º 1
0
 public ResizerJob(ILogger<ResizerJob> logger,
     IPictureProcessor processor,
     OkMidnightDbContext dbContext,
     PictureStorageService storage)
 {
     _logger = logger;
     _processor = processor;
     _dbContext = dbContext;
     _storage = storage;
 }
Exemplo n.º 2
0
 public UploadController(
     OkMidnightDbContext context, 
     ILogger<UploadController> logger, 
     IPictureProcessor processor,
     PictureStorageService storage)
 {
     _context = context;
     _logger = logger;
     _processor = processor;
     _storage = storage;
 }