public IssueApiController( IIssueTemplateCreationService issueTemplateCreationService, IIssueAttachmentService issueAttachmentService, IIssueDetachmentService issueDetachmentService, IMemoryCache cache, ICacheKeyHolderService <int> cacheKeyHolder) { this.issueTemplateCreationService = issueTemplateCreationService; this.issueAttachmentService = issueAttachmentService; this.issueDetachmentService = issueDetachmentService; this.cache = cache; this.cacheKeyHolder = cacheKeyHolder; }
public IssueController( IMapper mapper, IGenreRetrievalService genreRetrievalService, IIssueCreationService issueCreationService, IIssueDetachmentService issueDetachmentService, IIssueDeletionService issueDeletionService, IIssueEditingInfoService issueEditingInfoService, IIssueEditingService issueEditingService, IMemoryCache cache, ICacheKeyHolderService <int> cacheKeyHolder) { this.mapper = mapper; this.genreRetrievalService = genreRetrievalService; this.issueCreationService = issueCreationService; this.issueDetachmentService = issueDetachmentService; this.issueDeletionService = issueDeletionService; this.issueEditingInfoService = issueEditingInfoService; this.issueEditingService = issueEditingService; this.cache = cache; this.cacheKeyHolder = cacheKeyHolder; }