Skip to content

ProductVariantController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/PM/ProductVariantController.cs (line 9)

Part of: Pams

Where it refuses work

  • ProductVariantController stops the work with an early return when !logic.IsFound(id, CompanyID).
  • ProductVariantController stops the work with an early return when !new Pams.Business.Component.PM.ProductLogic().IsFound(productId, CompanyID).
  • ProductVariantController stops the work with an early return when isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly.
  • ProductVariantController stops the work with an early return when !logic.IsFound(model.ID, CompanyID).
  • ProductVariantController stops the work with an early return when isDeleted != Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly.

Relationships

  • MODULE_DECLARES → GetById
  • MODULE_DECLARES → GetAllByProductId
  • MODULE_DECLARES → SaveProductVariant
  • MODULE_DECLARES → DeleteProductVariant
  • IMPORTS → BaseController
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetById
  • IMPORTS → GetAllByProductId
  • IMPORTS → ProductVariantBindingModel
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Delete
  • 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