oop_NFS_Andreas/Plattform/Plattform/IPlattformService.cs

35 lines
1008 B
C#
Raw Normal View History

2018-08-19 14:31:58 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
2018-08-28 21:52:36 +02:00
using Plattform.DB;
using Plattform.Models;
using Plattform.AirlineService;
2018-08-19 14:31:58 +02:00
namespace Plattform
{
2018-08-30 19:49:34 +02:00
// NOTE: You can use the "Rename" command on the "Refactor" menu to change
// the interface name "IPlattformService" in both code and config file
// together.
2018-08-19 14:31:58 +02:00
[ServiceContract]
public interface IPlattformService
{
[OperationContract]
2018-08-28 21:52:36 +02:00
List<SpecialOffer> GetSpecialOffers();
[OperationContract]
bool ReserveSpecialOffer(SpecialOffer offer);
[OperationContract]
bool BookSpecialOffer(SpecialOffer offer);
[OperationContract]
bool CancelSpecialOffer(SpecialOffer offer);
[OperationContract]
List<Gender> GetGenders();
[OperationContract]
2018-08-30 21:18:42 +02:00
List<Salutation> GetSalutations();
[OperationContract]
List<City> GetCities();
2018-08-19 14:31:58 +02:00
}
}