C# Class PushingBehaviorToValueObject.HolidayBooking

Show file Open project: elbandit/PPPDDD

Public Methods

Method Description
HolidayBooking ( int travelerId, Stay stay, System.DateTime booked ) : System

Private Methods

Method Description
GenerateId ( int travelerId, System.DateTime firstNight, System.DateTime lastNight, System.DateTime booked ) : string
ToIdFormat ( System.DateTime date ) : string

Method Details

HolidayBooking() public method

public HolidayBooking ( int travelerId, Stay stay, System.DateTime booked ) : System
travelerId int
stay Stay
booked System.DateTime
return System