Exemplo n.º 1
0
        public AssignmentGrade FindAssignmentGrade(string assign)
        {
            AssignmentGrade foundGrade = null;

            foreach (AssignmentGrade g in this.AssignmentGrades)
            {
                if (g.Assignment.Assign == assign)
                {
                    foundGrade = g;
                    break;
                }
            }
            return(foundGrade);
        }
Exemplo n.º 2
0
        public AssignmentGrade FindAssignmentGrade(int id)
        {
            AssignmentGrade foundAssignmentGrade = null;

            foreach (AssignmentGrade a in this.AssignmentGrades)
            {
                if (a.Enrollment.Student.Id == id)
                {
                    foundAssignmentGrade = a;
                    break;
                }
            }
            return(foundAssignmentGrade);
        }
Exemplo n.º 3
0
        public AssignmentGrade FindAssignmentGrade(int studentId)
        {
            AssignmentGrade foundGrade = null;

            foreach (AssignmentGrade g in this.AssignmentGrades)
            {
                if (g.Enrollment.Student.Id == studentId)
                {
                    foundGrade = g;
                    break;
                }
            }
            return(foundGrade);
        }
        public AssignmentGrade FindAssignmentGrade(int personId)
        {
            AssignmentGrade foundAssignmentGrade = null;

            foreach (AssignmentGrade ag in this.AssignmentGrades)
            {
                if (ag.Enrollment.Student.Id == personId)
                {
                    foundAssignmentGrade = ag;
                    break;
                }
            }
            return(foundAssignmentGrade);
        }
Exemplo n.º 5
0
        public AssignmentGrade FindAssignmentGrade(int Id)
        {
            //return this.Courses.Find(g.Enrollment.Id == enrollmentId);
            AssignmentGrade foundAssignmentGrade = null;

            foreach (AssignmentGrade g in this.AssignmentGrades)
            {
                if (g.Id == Id)
                {
                    foundAssignmentGrade = g;
                    break;
                }
            }
            return(foundAssignmentGrade);
        }