// Author: Gockner, Simon // Created: 2020-02-11 // Copyright(c) 2020 SimonG. All Rights Reserved. using GBase.Api.Communication; using GBase.Api.Services; namespace GBase.Client.Services { /// /// for the IGBaseTable /// public class GBaseTableService : Service, IGBaseTableService { /// /// for the IGBaseTable /// /// The /// The endpoint for the GBaseTable public GBaseTableService(ServerProtocol serverProtocol, string endpoint) : base(serverProtocol, endpoint) { } /// /// Add a column to the GBaseTable /// /// True if successful, false if not public bool AddColumn() { IGBaseTableService channel = OpenChannel(); bool ret = channel.AddColumn(); CloseChannel(channel); return ret; } /// /// Remove a column from the GBaseTable /// /// True if successful, false if not public bool RemoveColumn() { IGBaseTableService channel = OpenChannel(); bool ret = channel.RemoveColumn(); CloseChannel(channel); return ret; } } }