From c8a8edbbc7afb62e5d0725acd0b31e3cbcca83cb Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Wed, 19 Sep 2018 14:28:38 +0100 Subject: [PATCH] Can now add Sites and Tutors via resources. --- .../Observations/ObservationsApplication.java | 4 +- .../uk/co/neviyn/Observations/core/Tutor.java | 2 + .../Observations/resources/SiteResource.java | 12 ++++-- .../Observations/resources/TutorResource.java | 41 +++++++++++++------ 4 files changed, 40 insertions(+), 19 deletions(-) diff --git a/backend/src/main/java/uk/co/neviyn/Observations/ObservationsApplication.java b/backend/src/main/java/uk/co/neviyn/Observations/ObservationsApplication.java index 74fc2b3..f0dd893 100644 --- a/backend/src/main/java/uk/co/neviyn/Observations/ObservationsApplication.java +++ b/backend/src/main/java/uk/co/neviyn/Observations/ObservationsApplication.java @@ -14,8 +14,8 @@ import uk.co.neviyn.Observations.dao.ObservationDao; import uk.co.neviyn.Observations.dao.SiteDao; import uk.co.neviyn.Observations.dao.TutorDao; import uk.co.neviyn.Observations.resources.ObservationResource; -import uk.co.neviyn.Observations.resources.TutorResource; import uk.co.neviyn.Observations.resources.SiteResource; +import uk.co.neviyn.Observations.resources.TutorResource; public class ObservationsApplication extends Application { @@ -48,7 +48,7 @@ public class ObservationsApplication extends Application