Example #1
0
        public TransportRequest(Customer customer, TransportUnit transportUnit)
        {
            List<TransportUnit> units = new List<TransportUnit>();

            units.Add(transportUnit);
            this.Init(customer, units);
        }
Example #2
0
 public TransportRequest(Customer customer, IList<TransportUnit> transportUnits)
 {
     this.Init(customer, transportUnits);
 }
Example #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;
 }