/// <summary> /// API endpoint for resources. /// </summary> /// <param name="resourceService">The service for resources</param> /// <param name="resourceLinkingService">The service for linking two resources as versions together</param> /// <param name="historicResourceService">The service for historic resources</param> public ResourceController(IResourceService resourceService, IResourceLinkingService resourceLinkingService, IHistoricResourceService historicResourceService, IResourceComparisonService resourceComparisonService) { _resourceService = resourceService; _resourceLinkingService = resourceLinkingService; _historicResourceService = historicResourceService; _resourceComparisonService = resourceComparisonService; }
/// <summary> /// API endpoint for resources. /// </summary> /// <param name="resourceService">The service for resources</param> /// <param name="resourceLinkingService">The service for linking two resources as versions together</param> /// <param name="historicResourceService">The service for historic resources</param> /// <param name="resourceComparisonService">The service for comparison of resources</param> /// <param name="attachmentService">The service to add attachments to resources</param> public ResourceController(IResourceService resourceService, IResourceLinkingService resourceLinkingService, //IHistoricResourceService historicResourceService, IResourceComparisonService resourceComparisonService, IAttachmentService attachmentService) { _resourceService = resourceService; _resourceLinkingService = resourceLinkingService; //_historicResourceService = historicResourceService; _resourceComparisonService = resourceComparisonService; }