C# Class Oditel.Cirqus.Views.Models.Booking

Inheritance: IBooking
显示文件 Open project: SamuelDebruyn/AD5-Cirqus-demo

Public Methods

Method Description
AddRoom ( System.Guid roomId ) : void
Booking ( System.Guid id ) : System
RemoveRoom ( System.Guid roomId ) : void
ToString ( ) : string
UpdateInfo ( DateTimeOffset checkIn, DateTimeOffset checkOut, bool paid, System.Guid customerId ) : void

Method Details

AddRoom() public method

public AddRoom ( System.Guid roomId ) : void
roomId System.Guid
return void

Booking() public method

public Booking ( System.Guid id ) : System
id System.Guid
return System

RemoveRoom() public method

public RemoveRoom ( System.Guid roomId ) : void
roomId System.Guid
return void

ToString() public method

public ToString ( ) : string
return string

UpdateInfo() public method

public UpdateInfo ( DateTimeOffset checkIn, DateTimeOffset checkOut, bool paid, System.Guid customerId ) : void
checkIn DateTimeOffset
checkOut DateTimeOffset
paid bool
customerId System.Guid
return void