public PhotosController(IKeyGenerator keyGenerator, IPhotoMetaData photoMetaData, IFileStorage fileStorage) { _keyGenerator = keyGenerator; _photoMetaData = photoMetaData; _fileStorage = fileStorage; }
public PhotosController(IKeyGenerator keyGenerator, IHttpContextAccessor httpContextAccessor, IPhotoMetaData photoMetaData, IFileStorage fileStorage) { _keyGenerator = keyGenerator; _httpContextAccessor = httpContextAccessor; _photoMetaData = photoMetaData; _fileStorage = fileStorage; }