/// <summary>Initializes a new instance of the <see cref="PhotoService" /> class.</summary> /// <param name="photoData">The photo data.</param> /// <param name="tagData">The tag data.</param> /// <param name="logger">The logger.</param> /// <param name="fileSystemService">The file system service.</param> /// <param name="dynamicConfig">The dynamic configuration.</param> /// <param name="backgroundTaskQueue">The background task queue.</param> public PhotoService(IPhotoData photoData, ITagData tagData, ILogger <PhotoService> logger, IFileSystemService fileSystemService, IDynamicConfig dynamicConfig, IBackgroundTaskQueue backgroundTaskQueue) { _photoData = photoData; _tagData = tagData; _logger = logger; _fileSystemService = fileSystemService; _dynamicConfig = dynamicConfig; _backgroundTaskQueue = backgroundTaskQueue; }
public BaseController(IPhotoData data) { this.Data = data; InitStorage(); }