public VideoService(IVideoRepository videoRepository, IVideoTranslationRepository videoTranslationRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> websiteResourceService, IConfiguration configuration ) { _videoRepository = videoRepository; _videoTranslationRepository = videoTranslationRepository; _sharedResourceService = sharedResourceService; _websiteResourceService = websiteResourceService; _configuration = configuration; }
public AlbumService(IAlbumRepository albumRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> websiteResourceService, IPhotoRepository photoRepository, IAlbumTranslationRepository albumTranslationRepository, IVideoRepository videoRepository, IVideoService videoService, IVideoTranslationRepository videoTranslationRepository) { _albumRepository = albumRepository; _sharedResourceService = sharedResourceService; _websiteResourceService = websiteResourceService; _photoRepository = photoRepository; this._albumTranslationRepository = albumTranslationRepository; _videoRepository = videoRepository; _videoService = videoService; _videoTranslationRepository = videoTranslationRepository; }