} // CheckHighBusinessScore private void CheckMpError() { var data = new MarketPlaceWithErrorPreventer.DataModel { HasMpError = Trail.MyInputData.HasMpError, MaxBusinessScore = Trail.MyInputData.BusinessScore, MaxBusinessScoreThreshhold = Trail.MyInputData.RejectionExceptionMaxCompanyScoreForMpError, MaxConsumerScore = Trail.MyInputData.ConsumerScore, MaxConsumerScoreThreshhold = Trail.MyInputData.RejectionExceptionMaxConsumerScoreForMpError }; if (data.NotRejectStep) { StepNoReject <MarketPlaceWithErrorPreventer>(true).Init(data); } else { StepNoDecision <MarketPlaceWithErrorPreventer>().Init(data); } } // CheckMpError
} // HighBusinessScore private void MpErrors() { var data = new MarketPlaceWithErrorPreventer.DataModel { HasMpError = Trail.MyInputData.HasMpError, MaxBusinessScore = Trail.MyInputData.BusinessScore, MaxBusinessScoreThreshhold = Trail.MyInputData.RejectionExceptionMaxCompanyScoreForMpError, MaxConsumerScore = Trail.MyInputData.ConsumerScore, MaxConsumerScoreThreshhold = Trail.MyInputData.RejectionExceptionMaxConsumerScoreForMpError, }; bool bNoReject = Trail.MyInputData.HasMpError && ( (Trail.MyInputData.ConsumerScore > Trail.MyInputData.RejectionExceptionMaxConsumerScoreForMpError) || (Trail.MyInputData.BusinessScore > Trail.MyInputData.RejectionExceptionMaxCompanyScoreForMpError) ); if (bNoReject) { StepNoReject <MarketPlaceWithErrorPreventer>().Init(data); } else { StepNoDecision <MarketPlaceWithErrorPreventer>().Init(data); } } // MpErrors