} // LoicalGlueGetLastInference public IList <LogicalGlueResult> LogicalGlueGetHistory(int underwriterID, int customerID) { GetHistoryInferences strategy; ExecuteSync(out strategy, customerID, underwriterID, customerID); var result = strategy.Inferences.Select(x => LogicalGlueResult.FromInference(x, customerID, Log, DB)).ToList(); return(result); } // LogicalGlueGetHistory
public LogicalGlueResult LogicalGlueGetLastInference( int underwriterID, int customerID, DateTime?date, bool includeTryouts ) { GetLatestKnownInference strategy; var metadata = ExecuteSync(out strategy, customerID, underwriterID, customerID, date, includeTryouts); var result = LogicalGlueResult.FromInference(strategy.Inference, customerID, Log, DB); result.MetaData = metadata; return(result); } // LoicalGlueGetLastInference
} // LogicalGlueGetHistory public LogicalGlueResult LogicalGlueGetTryout( int underwriterID, int customerID, decimal monthlyRepayment, bool isTryout ) { GetTryoutInference strategy; var metadata = ExecuteSync(out strategy, customerID, underwriterID, customerID, monthlyRepayment, isTryout); var result = LogicalGlueResult.FromInference(strategy.Inference, customerID, Log, DB); result.MetaData = metadata; return(result); } // LogicalGlueGetTryout