From 63fa792edfc1d6bf2b52439b46ca329e2829e03d Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Thu, 13 Feb 2020 10:56:27 +0100 Subject: [PATCH] - implement addEntry and removeEntry --- GBase.Client/GBase.Client.xml | 11 +++++++++-- GBase.Client/Services/GBaseTableService.cs | 14 ++++++++++++-- GBase.Server/Services/GBaseTableService.cs | 6 +++++- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/GBase.Client/GBase.Client.xml b/GBase.Client/GBase.Client.xml index 5992ff2..ee36f51 100644 --- a/GBase.Client/GBase.Client.xml +++ b/GBase.Client/GBase.Client.xml @@ -269,10 +269,17 @@ The The endpoint for the GBaseTable - + - Dummy method + Add an entry to the GBaseTable + + True if successful, false if not + + + + Remove an entry from the GBaseTable + True if successful, false if not diff --git a/GBase.Client/Services/GBaseTableService.cs b/GBase.Client/Services/GBaseTableService.cs index 8ea7328..5d2469a 100644 --- a/GBase.Client/Services/GBaseTableService.cs +++ b/GBase.Client/Services/GBaseTableService.cs @@ -24,9 +24,19 @@ namespace GBase.Client.Services } /// - /// Dummy method + /// Add an entry to the GBaseTable /// - public void Dummy() + /// True if successful, false if not + public bool AddEntry() + { + throw new System.NotImplementedException(); + } + + /// + /// Remove an entry from the GBaseTable + /// + /// True if successful, false if not + public bool RemoveEntry() { throw new System.NotImplementedException(); } diff --git a/GBase.Server/Services/GBaseTableService.cs b/GBase.Server/Services/GBaseTableService.cs index c5e54cb..5fb1a43 100644 --- a/GBase.Server/Services/GBaseTableService.cs +++ b/GBase.Server/Services/GBaseTableService.cs @@ -9,11 +9,15 @@ namespace GBase.Server.Services { public class GBaseTableService : IGBaseTableService { - public void Dummy() + public bool AddEntry() { throw new System.NotImplementedException(); } + public bool RemoveEntry() + { + throw new System.NotImplementedException(); + } public async ValueTask DisposeAsync() { throw new System.NotImplementedException();