public Review(string content, double grade, DateTime publishDate, BusCompany busCompany, Customer customer) { this.Content = content; this.Grade = grade; this.PublishDate = publishDate; this.BusCompany = busCompany; this.Customer = customer; }
public Trip(DateTime departureTime, DateTime arrivalTime, BusStation originBusStation, BusStation destinationBusStation, BusCompany busCompany) : this() { this.DepartureTime = departureTime; this.ArrivalTime = arrivalTime; this.OriginBusStation = originBusStation; this.DestinationBusStation = destinationBusStation; this.BusCompany = busCompany; }