You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
862 B
37 lines
862 B
// Author: Gockner, Simon
|
|
// Created: 2020-02-11
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using GBase.Api.Services;
|
|
|
|
namespace GBase.Client.Services
|
|
{
|
|
public class GBaseService : Service<IGBaseService>, IGBaseService
|
|
{
|
|
public GBaseService(string endpoint)
|
|
: base(endpoint)
|
|
{
|
|
|
|
}
|
|
|
|
public bool AddTable() //TODO: Implement this function correctly
|
|
{
|
|
IGBaseService channel = OpenChannel();
|
|
bool success = channel.AddTable();
|
|
|
|
CloseChannel(channel);
|
|
|
|
return success;
|
|
}
|
|
|
|
public bool RemoveTable() //TODO: Implement this function correctly
|
|
{
|
|
IGBaseService channel = OpenChannel();
|
|
bool success = channel.RemoveTable();
|
|
|
|
CloseChannel(channel);
|
|
|
|
return success;
|
|
}
|
|
}
|
|
} |