oop_NFS_Andreas/Plattform/Plattform/IPlattformService.cs

26 lines
768 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Plattform.DB;
using Plattform.Models;
namespace Plattform
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPlattformService" in both code and config file together.
[ServiceContract]
public interface IPlattformService
{
[OperationContract]
List<SpecialOffer> GetSpecialOffers();
[OperationContract]
bool ReserveSpecialOffer(SpecialOffer offer);
[OperationContract]
bool BookSpecialOffer(SpecialOffer offer);
[OperationContract]
bool CancelSpecialOffer(SpecialOffer offer);
}
}