From c93714c2f4f1d7d9bb1dd0930a96375b66cf14e2 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Mon, 18 May 2015 20:19:32 -0400 Subject: [PATCH] fix up repo --- src/NetrunnerDb.Net/Repository.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/NetrunnerDb.Net/Repository.cs b/src/NetrunnerDb.Net/Repository.cs index 1a16c2b..3452ecf 100644 --- a/src/NetrunnerDb.Net/Repository.cs +++ b/src/NetrunnerDb.Net/Repository.cs @@ -17,6 +17,7 @@ namespace NetrunnerDb.Net /// /// /// + /// public IList GetRequest(string parameter = "") where TResult : class, IRequest, new() { @@ -38,6 +39,7 @@ namespace NetrunnerDb.Net /// /api/sets/ returns data about all the sets in the database. /// 01001 /// + /// public IList GetSets() { return GetRequest(); @@ -47,6 +49,9 @@ namespace NetrunnerDb.Net /// /// /// + /// + /// + /// public IList GetSet(string code) { return GetRequest(code); @@ -55,6 +60,9 @@ namespace NetrunnerDb.Net /// /api/cards/ returns data about all the cards in the database. /// /// + /// + /// + /// public IList GetCards() { return GetRequest(); @@ -64,9 +72,12 @@ namespace NetrunnerDb.Net /// /api/card/{code} returns data about all the cards in the database. /// /// - public IList GetCard() + /// + /// + /// + public IList GetCard(string code) { - return GetRequest(); + return GetRequest(code); } } }