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
842 B
30 lines
842 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 GBaseTable
|
|
/// </summary>
|
|
[ServiceContract]
|
|
public interface IGBaseTableService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do
|
|
{
|
|
/// <summary>
|
|
/// Add an entry to the GBaseTable
|
|
/// </summary>
|
|
/// <returns>True if successful, false if not</returns>
|
|
[OperationContract]
|
|
bool AddEntry();
|
|
|
|
/// <summary>
|
|
/// Remove an entry from the GBaseTable
|
|
/// </summary>
|
|
/// <returns>True if successful, false if not</returns>
|
|
[OperationContract]
|
|
bool RemoveEntry();
|
|
}
|
|
} |