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.
30 lines
820 B
30 lines
820 B
// Author: Gockner, Simon
|
|
// Created: 2020-02-10
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.ServiceModel;
|
|
|
|
namespace GBase.Api.Services
|
|
{
|
|
/// <summary>
|
|
/// ServiceContract for the GBase
|
|
/// </summary>
|
|
[ServiceContract]
|
|
public interface IGBaseService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do
|
|
{
|
|
/// <summary>
|
|
/// Add a table to the GBase
|
|
/// </summary>
|
|
/// <returns>True if successful, false if not</returns>
|
|
[OperationContract]
|
|
bool AddTable();
|
|
|
|
/// <summary>
|
|
/// Remove a table from the GBase
|
|
/// </summary>
|
|
/// <returns>True if successful, false if not</returns>
|
|
[OperationContract]
|
|
bool RemoveTable();
|
|
}
|
|
} |