Web Service integration

TaskManager integration design

  • Tym ModelingAgency pouziva stejne jako mi WCF

Integrace

Integrovane metody

  • GetReservations
  • GetReservation - READ
  • InsertReservation - INSERT
  • UpdateReservation - UPDATE
  • DeleteReservation - DELETE

Interface integrovane sluzby

[ServiceContract]
public interface IModelAgencyService
{
    [OperationContract]
    IEnumerable<ReservationDTO> GetReservations();
 
    [OperationContract]
    void InsertReservation(ReservationDTO reservation);
 
    [OperationContract]
    void UpdateReservation(ReservationDTO reservation);
 
    [OperationContract]
    void DeleteReservation(int reservationId);
 
    [OperationContract]
    ReservationDTO GetReservation(int reservationId);
}
school/fit/mimdw/task4.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0