private void RecordAnswer <T>(IRuleQuestion <T> question) { var answer = new RuleAnswer() { Question = question.Question, Answer = question.ToString(), IsEligible = question.IsValid, SessionID = System.Web.HttpContext.Current.Session.SessionID, UserHostAddress = System.Web.HttpContext.Current.Request.UserHostAddress }; Container.AddToRuleAnswers(answer); Container.SaveChanges(); }
public void LogEligibility(RuleAnswer answer) { throw new NotImplementedException(); }