From c78d2e526ac435543020b6c95ec65b90a69809c1 Mon Sep 17 00:00:00 2001 From: bspeice Date: Sat, 19 Oct 2013 21:18:41 -0400 Subject: [PATCH] GamedayService now knows how to look up users by name --- src/com/uncc/gameday/registration/GamedayService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/uncc/gameday/registration/GamedayService.java b/src/com/uncc/gameday/registration/GamedayService.java index f93d7c4..04f77b3 100644 --- a/src/com/uncc/gameday/registration/GamedayService.java +++ b/src/com/uncc/gameday/registration/GamedayService.java @@ -19,6 +19,9 @@ public interface GamedayService { @GET("/register/{id}/") Attendee getUser(@Query("id") int id); + @GET("/register/{fname}/{lname}/") + Attendee getUser(@Query("fname") String firstName, @Query("lname") String lastName); + @GET("/register/") List getAllUsers();