Skip to content

StoreProductController

reference
1 min readUpdated

Kind: Controller

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

Part of: Pams

Where it refuses work

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

Relationships

  • MODULE_DECLARES → GetById
  • MODULE_DECLARES → GetPackageProductStageLookup
  • MODULE_DECLARES → GetNonStockedProductsByStoreId
  • MODULE_DECLARES → GetStoreLocations
  • MODULE_DECLARES → GetAcceptedProductsByProjectManager
  • MODULE_DECLARES → GetAcceptedProductsByProjectManagerFunnel
  • MODULE_DECLARES → GetRejectedProductsByProjectManager
  • MODULE_DECLARES → GetRejectedProductsByProjectManagerFunnel
  • MODULE_DECLARES → GetAllStockedProducts
  • MODULE_DECLARES → GetAllStockedProductsFunnel
  • MODULE_DECLARES → GetAllPackages
  • MODULE_DECLARES → AddProductToStore
  • MODULE_DECLARES → UpdateStoreProduct
  • MODULE_DECLARES → DeleteSheet
  • 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 → StockingProductBindingModel
  • IMPORTS → DeleteSheet
  • IMPORTS → DeleteSheet
  • IMPORTS → DeleteDto

Used by

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

calls by (2)

  • AppSettingsFrontend/src/app/settings/app/app.settings.ts:241
  • AppSettingsPams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126

Was this page helpful?

Download as PDF