示例#1
0
 public ProductController(IProductTypeFacade productTypeFacade, IProductSubtypeFacade productSubtypeFacade, IProductFacade productFacade, IOrganizationFacade organizationFacade)
 {
     _organizationFacade   = organizationFacade ?? throw new ArgumentNullException(nameof(organizationFacade));
     _productTypeFacade    = productTypeFacade ?? throw new ArgumentNullException(nameof(productTypeFacade));
     _productSubtypeFacade = productSubtypeFacade ?? throw new ArgumentNullException(nameof(productSubtypeFacade));
     _productFacade        = productFacade ?? throw new ArgumentNullException(nameof(productFacade));
 }
示例#2
0
 public RFPController(IRfpRequestFacade rfpRequestFacade, IRfpAttachmentFacade rfpAttachmentFacade, IScoreRuleFacade rfpScoreRuleFacade, IProductTypeFacade prodTypeFacade)
 {
     _rfpRequestFacade    = rfpRequestFacade ?? throw new ArgumentNullException(nameof(rfpRequestFacade));
     _rfpAttachmentFacade = rfpAttachmentFacade ?? throw new ArgumentNullException(nameof(rfpAttachmentFacade));
     _rfpScoreRuleFacade  = rfpScoreRuleFacade ?? throw new ArgumentNullException(nameof(rfpScoreRuleFacade));
     _prodTypeFacade      = prodTypeFacade ?? throw new ArgumentNullException(nameof(prodTypeFacade));
 }
示例#3
0
 public LookupController(IProductTypeFacade productTypeFacade, IProductSubtypeFacade productSubtypeFacade)
 {
     _productTypeFacade    = productTypeFacade ?? throw new ArgumentNullException(nameof(productTypeFacade));
     _productSubtypeFacade = productSubtypeFacade ?? throw new ArgumentNullException(nameof(productSubtypeFacade));
 }
示例#4
0
 public ProductTypeController(IProductTypeFacade productTypeFacade)
 {
     _productTypeFacade = productTypeFacade;
 }