- first real implementation of addEntry and removeEntry

pull/26/head
Simon Gockner 6 years ago
parent 63fa792edf
commit d9cbae3558
  1. 14
      GBase.Client/Services/GBaseTableService.cs

@ -29,7 +29,12 @@ namespace GBase.Client.Services
/// <returns>True if successful, false if not</returns> /// <returns>True if successful, false if not</returns>
public bool AddEntry() public bool AddEntry()
{ {
throw new System.NotImplementedException(); IGBaseTableService channel = OpenChannel();
bool ret = channel.AddEntry();
CloseChannel(channel);
return ret;
} }
/// <summary> /// <summary>
@ -38,7 +43,12 @@ namespace GBase.Client.Services
/// <returns>True if successful, false if not</returns> /// <returns>True if successful, false if not</returns>
public bool RemoveEntry() public bool RemoveEntry()
{ {
throw new System.NotImplementedException(); IGBaseTableService channel = OpenChannel();
bool ret = channel.RemoveEntry();
CloseChannel(channel);
return ret;
} }
} }
} }
Loading…
Cancel
Save