Ejemplo n.º 1
0
        public TransportRequest(Customer customer, TransportUnit transportUnit)
        {
            List<TransportUnit> units = new List<TransportUnit>();

            units.Add(transportUnit);
            this.Init(customer, units);
        }
Ejemplo n.º 2
0
 public TransportRequest(Customer customer, IList<TransportUnit> transportUnits)
 {
     this.Init(customer, transportUnits);
 }
Ejemplo n.º 3
0
 private void Init(Customer customer, IList<TransportUnit> transportUnits)
 {
     this.customer = customer;
     this.createdTime = DateTime.Now; //Steria.Utilities.TimeHelper.Now;
     this.status = TransportRequestStatus.New;
     this.transportUnits = transportUnits;
 }