public GetPricingModelModel(int customerId, PricingCalcuatorScenarioNames name) { this.customerId = customerId; this.scenarioName = name.DescriptionAttr(); LoadFromLastCashRequest = true; Model = new PricingModelModel(); Error = null; } // constructor
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