Added another example

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-06-14 21:46:42 +02:00
parent 9f4eb7f79a
commit 1e456059cb

View file

@ -22,6 +22,17 @@ class TitamaApi {
..prof = "" ..prof = ""
..turnin = ""; ..turnin = "";
_courses.add(course); _courses.add(course);
Course course2 = new Course();
course2
..title = "CCC Ulm"
..time = "20:00"
..day = "Monday"
..id = 1
..kind = "Meeting"
..place = "Cafe Einstein"
..prof = ""
..turnin = "";
_courses.add(course2);
} }
@ApiMethod(path: 'courses') @ApiMethod(path: 'courses')