Ejemplo n.º 1
0
 public ScheduledService(ScheduledServiceId id, BusId busId, BusRouteId routeId)
 {
     Id       = id ?? throw new ArgumentNullException("id");
     BusId    = busId ?? throw new ArgumentNullException("busId");
     RouteId  = routeId ?? throw new ArgumentNullException("routeId");
     IsActive = false;
 }
Ejemplo n.º 2
0
 public BusRoute(BusRouteId id, string routeName)
 {
     Id   = id;
     Name = routeName;
 }