public DocumentController(IUploadFileCommand uploadFileCommand, ICurrentSchema currentSchema, IRetrieveDocumentsQuery retrieveDocumentsQuery, IRetrieveDocumentUrlQuery retrieveDocumentUrlQuery) { this.uploadFileCommand = uploadFileCommand; this.currentSchema = currentSchema; this.retrieveDocumentsQuery = retrieveDocumentsQuery; this.retrieveDocumentUrlQuery = retrieveDocumentUrlQuery; }
public PresentationController( ICurrentSchema currentSchema, ICreatePresentationCommand createPresentationCommand, IRetrievePresentationToViewQuery retrievePresentationToViewQuery, IUploadFileCommand uploadFileCommand ) { this.currentSchema = currentSchema; this.createPresentationCommand = createPresentationCommand; this.retrievePresentationToViewQuery = retrievePresentationToViewQuery; this.uploadFileCommand = uploadFileCommand; }
public SignupController( NpgsqlConnection connection, ICurrentSchema currentSchema, ICreatePresentationCommand createPresentationCommand, IRetrievePresentationToViewQuery retrievePresentationToViewQuery, IUploadFileCommand uploadFileCommand) { this.connection = connection; this.currentSchema = currentSchema; this.createPresentationCommand = createPresentationCommand; this.retrievePresentationToViewQuery = retrievePresentationToViewQuery; this.uploadFileCommand = uploadFileCommand; }
public FileSystemService( IFileSystem fileSystem, IGetFolderSizeCommand <GetFolderSizeResult, long, GetFolderSizeState> getFolderSizeCommand, IUploadFileCommand <UploadFileResult, object, UploadFileState> uploadFileCommand, IRemoveCommand <RemoveResult, bool, RemoveState> removeCommand, IDownloadFileCommand <DownloadFileResult, Stream, DownloadFileState> downloadFileCommand, IRenameCommand <RenameResult, object, RenameState> renameCommand, ICreateFolderCommand <CreateFolderResult, object, CreateFolderState> createFolderCommand, ICopyCommand <CopyResult, object, CopyState> copyCommand ) { _fileSystem = fileSystem; _getFolderSizeCommand = getFolderSizeCommand; _uploadFileCommand = uploadFileCommand; _removeCommand = removeCommand; _downloadFileCommand = downloadFileCommand; _renameCommand = renameCommand; _createFolderCommand = createFolderCommand; _copyCommand = copyCommand; }
public T_ArchivoController(IUploadFileCommand IUploadFileCommand, IGetArchivoByCodigoSolCreditoQuery IGetArchivoByCodigoSolCreditoQuery) { _IUploadFileCommand = IUploadFileCommand; _IGetArchivoByCodigoSolCreditoQuery = IGetArchivoByCodigoSolCreditoQuery; }
public void Post([FromForm] UploadFileDto dto, [FromServices] IUploadFileCommand command) { _executor.ExecuteCommand(command, dto); }