public AlbumService(IRepository <Album> albumRepository, IFilePathHelper filePathHelper, IFileService fileService, IMapper mapper) { _albumRepository = albumRepository; _filePathHelper = filePathHelper; _fileService = fileService; _mapper = mapper; }
public PhotoService(IFileService fileService, IRepository <Photo> photoRepository, IFilePathHelper filePathHelper, IMapper mapper, IOptions <ImageConfig> imageOptions, ILogger <PhotoService> logger) { _fileService = fileService; _photoRepository = photoRepository; _filePathHelper = filePathHelper; _mapper = mapper; _imageConfig = imageOptions.Value; _logger = logger; }