Esempio n. 1
0
 public List <SurveyDetail> RandomDetails(List <SurveyDetail> list_0)
 {
     if (list_0.Count > 1)
     {
         RandomEngine randomEngine = new RandomEngine();
         list_0 = randomEngine.RandomDetails(list_0);
     }
     return(list_0);
 }
Esempio n. 2
0
        internal List <string> method_13(string string_0)
        {
            RandomEngine        randomEngine    = new RandomEngine();
            List <SurveyDetail> list            = new List <SurveyDetail>();
            SurveyDetailDal     surveyDetailDal = new SurveyDetailDal();

            list = surveyDetailDal.GetDetails(string_0);
            list = randomEngine.RandomDetails(list);
            List <string> list2 = new List <string>();

            foreach (SurveyDetail item in list)
            {
                list2.Add(item.CODE);
            }
            return(list2);
        }