public ResourceService(IMapper mapper , DbContext dbContext , ILogger <ResourceService> logger , IResourceRepository resourceRepository , IResourceDetailRepository resourceDetailRepository , IResourceFilterRepository resourceFilterRepository , IResourceWhitelistRepository resourceWhitelistRepository , IList <IModuleDescriptor> moduleDescriptors) { _mapper = mapper; _dbContext = dbContext; _logger = logger; _resourceRepository = resourceRepository; _resourceDetailRepository = resourceDetailRepository; _resourceFilterRepository = resourceFilterRepository; _resourceWhitelistRepository = resourceWhitelistRepository; _moduleDescriptors = moduleDescriptors; }
public ResourceDetailService(IMapper mapper, IResourceDetailRepository repository) { _mapper = mapper; _repository = repository; }