Added another example
This commit is contained in:
parent
9f4eb7f79a
commit
1e456059cb
1 changed files with 11 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Reference in a new issue