public RequestController(
     IExportUseCase exportUseCase, ExportPresenter exportPresenter,
     IManageRequestUseCase manageRequestUseCase, ManageRequestPresenter manageRequestPresenter,
     IBulkExportUseCase bulkExportUseCase, BulkExportPresenter bulkExportPresenter,
     IGetEachRequestUseCase getEachRequestUseCase, GetEachRequestPresenter getEachRequestPresenter,
     IAuthService authService,
     ICommentRepository commentRepository,
     IRequestRepository requestRepository,
     ICreateCommentUseCase createCommentUseCase,
     ICreateRequestUseCase createRequestUseCase,
     CreateRequestPresenter createRequestPresenter,
     UpdateRequestPresenter updateRequestPresenter,
     IUpdateRequestUseCase updateRequestUseCase,
     ResourcePresenter <DeleteCommentResponse> deleteCommentPresenter,
     IDeleteCommentUseCase deleteCommentUseCase,
     IGetRequestUseCase getRequestUseCase,
     GetRequestPresenter getRequestPresenter,
     ResourcePresenter <CreateCommentResponse> createCommentPresenter)
 {
     _authService             = authService;
     _commentRepository       = commentRepository;
     _requestRepository       = requestRepository;
     _createCommentUseCase    = createCommentUseCase;
     _createRequestUseCase    = createRequestUseCase;
     _createRequestPresenter  = createRequestPresenter;
     _updateRequestUseCase    = updateRequestUseCase;
     _updateRequestPresenter  = updateRequestPresenter;
     _getRequestUseCase       = getRequestUseCase;
     _getRequestPresenter     = getRequestPresenter;
     _getEachRequestUseCase   = getEachRequestUseCase;
     _getEachRequestPresenter = getEachRequestPresenter;
     _exportUseCase           = exportUseCase;
     _exportPresenter         = exportPresenter;
     _manageRequestUseCase    = manageRequestUseCase;
     _manageRequestPresenter  = manageRequestPresenter;
     _bulkExportUseCase       = bulkExportUseCase;
     _bulkExportPresenter     = bulkExportPresenter;
     _createCommentPresenter  = createCommentPresenter;
     _deleteCommentPresenter  = deleteCommentPresenter;
     _deleteCommentUseCase    = deleteCommentUseCase;
 }
示例#2
0
 public CreateComment(ICreateCommentUseCase usecase)
 {
     _usecase = usecase;
 }