public Facility AddFacility(Business business, Address address, Contact contact)
        {
            var facility = new Facility(business, address, contact);

            FacilitiesCollection.Add(facility);
            return facility;
        }
        public Producer AddProducer(ProducerBusiness business, Address address, Contact contact)
        {
            var producer = new Producer(business, address, contact);

            ProducersCollection.Add(producer);
            return producer;
        }
示例#3
0
 internal Producer(ProducerBusiness business, Address address, Contact contact)
 {
     Business = business;
     Address = address;
     Contact = contact;
 }
 public Carrier AddCarrier(Business business, Address address, Contact contact)
 {
     var carrier = new Carrier(business, address, contact);
     CarriersCollection.Add(carrier);
     return carrier;
 }
示例#5
0
 internal Carrier(Business business, Address address, Contact contact)
 {
     Business = business;
     Address = address;
     Contact = contact;
 }