Exemplo n.º 1
0
        public string ExistTypeInFactors(ClassRoomType type)
        {
            CheckDataInFactors f = new CheckDataInFactors(eStorage);
            List<FactorSettings> factors= f.CheckType(type);
            string s = "";
            if (factors.Count == 0) return s;
            else
            {
                foreach (var item in factors)
                {
                    s += item.FactorName + ":" + item.UsersFactorName + "\n";
                }

            }
            return s;
        }
Exemplo n.º 2
0
        public string ExistStudentGroupInFactors(StudentSubGroup group)
        {
            CheckDataInFactors f = new CheckDataInFactors(eStorage);
            List<FactorSettings> factors = f.CheckGroup(group);
            string s = "";
            if (factors.Count == 0) return s;
            else
            {
                foreach (var item in factors)
                {
                    s += item.FactorName + ":" + item.UsersFactorName + "\n";
                }

            }
            return s;
        }
Exemplo n.º 3
0
        public string ExistTeacherInFactors(Teacher teach)
        {
            CheckDataInFactors f = new CheckDataInFactors(eStorage);
            List<FactorSettings> factors = f.CheckTeacher(teach);
            string s = "";
            if (factors.Count == 0) return s;
            else
            {
                foreach (var item in factors)
                {
                    s += item.FactorName + ":" + item.UsersFactorName + "\n";
                }

            }
            return s;
        }
Exemplo n.º 4
0
        public string ExistClassesInFactors(StudentsClass st)
        {
            CheckDataInFactors f = new CheckDataInFactors(eStorage);
            List<FactorSettings> factors = f.CheckStudentClass(st);
            string s = "";
            if (factors.Count == 0) return s;
            else
            {
                foreach (var item in factors)
                {
                    s += item.FactorName + ":" + item.UsersFactorName + "\n";
                }

            }
            return s;
        }