Exemple #1
0
        public static PsychicClass PsychicItem(int number)
        {
            List <PsychicClass> list    = HttpContext.Current.Session["PsychicClass"] as List <PsychicClass>;
            PsychicClass        psychic = null;

            for (int i = 0; i < list.Count; i++)
            {
                psychic = list[i];
                if (psychic.Number == number)
                {
                    break;
                }
            }
            return(psychic);
        }
Exemple #2
0
        public static List <LogClass> PsychicAnswers(int number)
        {
            PsychicClass psychic = PsychicItem(number);

            return(psychic.Answers);
        }