From d9cbae35580bf00335e6b4057603d94e6cc24900 Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Thu, 13 Feb 2020 10:58:14 +0100 Subject: [PATCH] - first real implementation of addEntry and removeEntry --- GBase.Client/Services/GBaseTableService.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/GBase.Client/Services/GBaseTableService.cs b/GBase.Client/Services/GBaseTableService.cs index 5d2469a..1d8f3e8 100644 --- a/GBase.Client/Services/GBaseTableService.cs +++ b/GBase.Client/Services/GBaseTableService.cs @@ -29,7 +29,12 @@ namespace GBase.Client.Services /// True if successful, false if not public bool AddEntry() { - throw new System.NotImplementedException(); + IGBaseTableService channel = OpenChannel(); + bool ret = channel.AddEntry(); + + CloseChannel(channel); + + return ret; } /// @@ -38,7 +43,12 @@ namespace GBase.Client.Services /// True if successful, false if not public bool RemoveEntry() { - throw new System.NotImplementedException(); + IGBaseTableService channel = OpenChannel(); + bool ret = channel.RemoveEntry(); + + CloseChannel(channel); + + return ret; } } } \ No newline at end of file