public IssuesController(IPagingViewModelGenerator pagingViewModelGenerator, IGetApplicationIssuesQuery getApplicationIssuesQuery, IMatchRuleFactoryFactory matchRuleFactoryFactory, ErrorditeConfiguration configuration, IAddIssueCommand addIssueCommand, IGetIssueQuery getIssueQuery, IMergeIssuesCommand mergeIssuesCommand, IBatchStatusUpdateCommand batchStatusUpdateCommand, IBatchDeleteIssuesCommand batchDeleteIssuesCommand) { _pagingViewModelGenerator = pagingViewModelGenerator; _getApplicationIssuesQuery = getApplicationIssuesQuery; _matchRuleFactoryFactory = matchRuleFactoryFactory; _configuration = configuration; _addIssueCommand = addIssueCommand; _getIssueQuery = getIssueQuery; _mergeIssuesCommand = mergeIssuesCommand; _batchStatusUpdateCommand = batchStatusUpdateCommand; _batchDeleteIssuesCommand = batchDeleteIssuesCommand; }
public IssueApiController(IAddIssueCommand addIssueCommand) { _addIssueCommand = addIssueCommand; }