Ejemplo n.º 1
0
        //readonly SendNotificationCommandHGandler sendNotificationCommand;

        public DocumentController(
            CreateDocumentCommandHandler createCommandHandler,
            SearchDocumentsQuery searchDocumentsQuery,
            SearchCountQuery searchCountQuery,
            DownloadFileQuery downloadFileQuery,
            GetOneDocumentQuery getOneQuery,
            GetAllDocumentTypesQuery getDTsQuery,
            GetAllEntitiesQuery getEsQuery,
            GetAllDocumentTypesByUserQuery getDTByUserQuery,
            DocumentsWithoutFilePagedQuery withoutFileQuery,
            UpdateFileToDocumentCommandHandler updateFileCommandHandler,
            DeleteDocumentCommandHandler deleteDocumentCommand,
            SendDocumentNotificationCommandHandler sendDocmentNotificationCommandHandler
            //SendNotificationCommandHGandler sendNotificationCommand) {
            )
        {
            _createCommandHandler         = createCommandHandler;
            this.searchDocumentsQuery     = searchDocumentsQuery;
            this.searchCountQuery         = searchCountQuery;
            this.downloadFileQuery        = downloadFileQuery;
            this.getOneQuery              = getOneQuery;
            this.getDTsQuery              = getDTsQuery;
            this.getEsQuery               = getEsQuery;
            this.withoutFileQuery         = withoutFileQuery;
            this.updateFileCommandHandler = updateFileCommandHandler;
            this.deleteDocumentCommand    = deleteDocumentCommand;
            this.sendDocumentNotificationCommandHandler = sendDocmentNotificationCommandHandler;
            this.getDTByUserQuery = getDTByUserQuery;
            //this.sendNotificationCommand = sendNotificationCommand;
        }
Ejemplo n.º 2
0
 public SearchController(
     GetAllDocumentTypesQuery getAllDTQuery,
     GetAllEntitiesQuery getAllETQuery,
     SearchCountQuery searchCountQuery,
     SearchDocumentsQuery searchDocumentsQuery,
     DownloadFileQuery downloadFileQuery,
     GetAllAnnotationTypesQuery getAllATQuery,
     GetDocumentAnnotationsQuery getDocAnnotationsQuery,
     GetOneDocumentQuery getOneDocumentQuery
     )
 {
     this.getAllDTQuery          = getAllDTQuery;
     this.getAllEQuery           = getAllETQuery;
     this.searchCountQuery       = searchCountQuery;
     this.searchDocumentsQuery   = searchDocumentsQuery;
     this.downloadFileQuery      = downloadFileQuery;
     this.getAllATQuery          = getAllATQuery;
     this.getDocAnnotationsQuery = getDocAnnotationsQuery;
     this.getOneDocumentQuery    = getOneDocumentQuery;
 }