Exemplo n.º 1
0
 /// <summary> Copying constructor </summary>
 /// <param name="tourAgency"> tour agency to copy </param>
 public TourAgency(TourAgency tourAgency)
 {
     AgencyID = tourAgency.AgencyID;
     Name     = tourAgency.Name;
     Email    = tourAgency.Email;
     WebPage  = tourAgency.WebPage;
 }
Exemplo n.º 2
0
 public Tour(string name, string description, TourAgency agency, Country country, Theme tourTheme, DateTime startTime, DateTime endTime, float pricePerPerson)
 {
     Name             = name;
     Description      = description;
     Agency           = agency;
     CountryOfArrival = country;
     TourTheme        = tourTheme;
     PricePerPerson   = pricePerPerson;
 }