Exemplo n.º 1
0
 public AnnotationService(IUnitOfWork unitOfWork, IRerumCommunicator rerum,
                          IWebManifestService manifestService, ILogger <AnnotationService> logger)
 {
     _unitOfWork        = unitOfWork;
     _logger            = logger;
     _rerum             = rerum;
     _manifests         = manifestService;
     _annotations       = _unitOfWork.Set <Annotation>();
     _annotationSources = _unitOfWork.Set <AnnotationSource>();
     _annotationTargets = _unitOfWork.Set <AnnotationTarget>();
     _annotationTags    = _unitOfWork.Set <AnnotationTag>();
 }
Exemplo n.º 2
0
 public WebManifestsController(IWebManifestService webManifestService, ILogger <WebManifestsController> logger) : base(logger)
 {
     _webManifestService = webManifestService;
 }