Skip to content

ExternalTransferController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Wrehouse/ExternalTransferController.cs (line 9)

Part of: Pams

Where it refuses work

  • ExternalTransferController stops the work with an early return when !isFound, in 2 places.
  • ExternalTransferController stops the work with an early return when !logic.IsFoundInCompany(id, CompanyID).
  • ExternalTransferController stops the work with an early return when model == null.
  • ExternalTransferController stops the work with an early return when isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly.
  • ExternalTransferController stops the work with an early return when isSaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly.
  • ExternalTransferController stops the work with an early return when isDeleted == Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly.

Relationships

  • MODULE_DECLARES → GetById
  • MODULE_DECLARES → GetAllTransferedProducts
  • MODULE_DECLARES → GetAllTransferedProductsFunnel
  • MODULE_DECLARES → CreateOrder
  • MODULE_DECLARES → UpdateOrder
  • MODULE_DECLARES → DeleteOrder
  • IMPORTS → BaseController
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → ExternalTransferBindingModel
  • IMPORTS → UpdateOrder
  • IMPORTS → DeleteOrder
  • IMPORTS → DeleteDto

Was this page helpful?

Download as PDF