Von der Datenbank bis zur Oberfläche mit .NET, Teil 2: Application Server und Webservices

Seite 5: Listing 1

Inhaltsverzeichnis
using System.Collections.Generic;
using System.ServiceModel;
using System.IO;

namespace WWWings_GO
{

/// <summary>
/// DienstSchnittstellendefinition
/// </summary>
[ServiceContract(Namespace="http://www.world-wide-wings.de/Services”)]

public interface IBuchungsService
{
[OperationContract]
GetFlugAntwort GetFlug(GetFlugAnfrage Anfrage);

[OperationContract]
GetFluegeAntwort GetFluege(GetFluegeAnfrage Anfrage);

[OperationContract]
GetFlughaefenAntwort GetFlughaefen(GetFlughaefenAnfrage Anfrage);

[OperationContract]
GetPassagierAntwort GetPassagier(GetPassagierAnfrage Anfrage);

[OperationContract]
GetPassagiereAntwort GetPassagiere(GetPassagiereAnfrage Anfrage);

[OperationContract]
SavePassagierSetAntwort SavePassagierSet(SavePassagierSetAnfrage Anfrage);

[OperationContract]
CreateBuchungAntwort CreateBuchung(CreateBuchungAnfrage Anfrage);

}
}