Skip to content

FileController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API.Core/Controllers/DMS/FileController.cs (line 18)

Part of: Pams

Where it refuses work

  • FileController stops the work with an early return when result == null, in 4 places.
  • FileController stops the work with an early return when results == null || results.Count == 0, in 2 places.
  • FileController stops the work with an early return when !isDone.
  • FileController stops the work with an early return when model == null || model.Files?.Count == 0.
  • FileController stops the work with an early return when !result.Item2.
  • FileController stops the work with an early return when !isShared.

Relationships

  • MODULE_DECLARES → CreateFolderOnOneDrive
  • MODULE_DECLARES → CreateFolderOnOneDriveForUser
  • MODULE_DECLARES → UploadFileToOneDrive
  • MODULE_DECLARES → UploadFileListToOneDrive
  • MODULE_DECLARES → UploadActivityAttachmentToOneDrive
  • MODULE_DECLARES → ModifyUsersAccessToFilesByRoleOrPermissionModification
  • MODULE_DECLARES → ShareFileFromOneDrive
  • MODULE_DECLARES → ShareFileFromOneDrive
  • MODULE_DECLARES → GetUserFileList
  • MODULE_DECLARES → ProbeItemPermissions
  • MODULE_DECLARES → GetGraphScopes
  • MODULE_DECLARES → GetFileContent
  • MODULE_DECLARES → GetLogoFile
  • MODULE_DECLARES → DownloadFileContentById_IntoMemory
  • MODULE_DECLARES → MoveFilesToOneDrive
  • MODULE_DECLARES → Test_PostMessage
  • MODULE_DECLARES → Test_GeSquareValue
  • IMPORTS → AttachedFile
  • IMPORTS → ActivityEMailAttachment
  • IMPORTS → SharedFileList
  • IMPORTS → AttachedFileList
  • IMPORTS → TempFiles
  • IMPORTS → MainLookup

Used by

5 references from 5 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

calls by (5)

  • UploadFilePopupFrontend/src/app/services/common/files.service.ts:1
  • ImportDataServiceFrontend/src/app/services/shared/import-data.service.ts:1
  • AttachementOutlook_plugin/src/attachement/attachement.service.ts:1
  • UploadFilePopupPams/Web/Pams.Web/Client/app/services/common/files.service.ts:1
  • ImportDataServicePams/Web/Pams.Web/Client/app/services/shared/import-data.service.ts:1

Was this page helpful?

Download as PDF