예제 #1
0
        public List<Evaluation> GetDummyEvaluations()
        {
            List<Evaluation> evaluations = new List<Evaluation>();

            Weight weight = new Weight(1, 40);
            EvaluationType type = new EvaluationType(1, "MAK", weight);
            Evaluation e = new Evaluation(1);

            e.Student = new Student(1, "Fabian", "Weber");
            e.Reached = 50.6;
            e.EvaluationType = type;
            evaluations.Add(e);

            return evaluations;
        }
예제 #2
0
 public EvaluationType(int id, string name, Weight weight)
 {
     Id = id;
     Name = name;
     Weight = weight;
 }