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