示例#1
0
        public GetPricingModelModel(int customerId, PricingCalcuatorScenarioNames name)
        {
            this.customerId         = customerId;
            this.scenarioName       = name.DescriptionAttr();
            LoadFromLastCashRequest = true;

            Model = new PricingModelModel();
            Error = null;
        }         // constructor
示例#2
0
        public PricingModelModelActionResult GetPricingModelModel(
            int customerId,
            int underwriterId,
            PricingCalcuatorScenarioNames scenarioName
            )
        {
            GetPricingModelModel instance;
            ActionMetaData       result = ExecuteSync(out instance, customerId, underwriterId, customerId, scenarioName);

            return(new PricingModelModelActionResult {
                MetaData = result,
                Value = instance.Model,
            });
        }         // GetPricingModelModel