Kind: Controller
Source: Pams/API/Pams.API/Controllers/PM/ProductController.cs (line 9)
Part of: Pams
Where it refuses work
ProductControllerstops the work with an early return whenisSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 2 places.ProductControllerstops the work with an early return when!logic.IsFound(id, CompanyID).ProductControllerstops the work with an early return when!logic.IsFound(model.Id, CompanyID) && model.Id > 0.ProductControllerstops the work with an early return whenmodel?.Products?.Count == 0.ProductControllerstops the work with an early return when!logic.IsFound(model.ID, CompanyID).ProductControllerstops the work with an early return whenisDeleted != Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly.
Relationships
- MODULE_DECLARES →
GetById - MODULE_DECLARES →
GetLookup - MODULE_DECLARES →
GetAllStoresLookup - MODULE_DECLARES →
GetAllProductsByFilter - MODULE_DECLARES →
GetAllProductsByFilterFunnel - MODULE_DECLARES →
GetAllProducts - MODULE_DECLARES →
GetAllProductsFunnel - MODULE_DECLARES →
GetAllStoresDetailByProductId - MODULE_DECLARES →
GetAllStoresDetail - MODULE_DECLARES →
GetAllStoresDetailFunnel - MODULE_DECLARES →
SaveProduct - MODULE_DECLARES →
UpdateAssembledProducts - MODULE_DECLARES →
DeleteProduct - MODULE_DECLARES →
EditProductToStore - MODULE_DECLARES →
GetExternalAppConfig - MODULE_DECLARES →
GetLookupFromExternalApp - IMPORTS →
BaseController - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetLookup - IMPORTS →
ProductBindingModel - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
MismachedProductsBindingModel - IMPORTS →
Delete - IMPORTS →
DeleteDto - IMPORTS →
StoreProductBindingModel
Used by
3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
calls by (3)
ProductsDetailsComponent—Frontend/src/app/components/configuration/products/products-details/products-details.component.ts:1AppSettings—Frontend/src/app/settings/app/app.settings.ts:241AppSettings—Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126
Was this page helpful?