Beispiel #1
0
        public void DeleteContractor(int contractorseqnr)
        {
            Contractor toDelete = this.GetContractorByID(contractorseqnr);

            _contractor.Remove(toDelete);
        }
Beispiel #2
0
 public void AddContractor(Contractor contractor)
 {
     _contractor.Add(contractor);
 }
Beispiel #3
0
        public void AddContractor(int contractorseqnr, string contractorname, string companyname, string companyemail, int[] cartypearray)
        {
            Contractor contractor = new Contractor(contractorseqnr, contractorname, companyname, companyemail, cartypearray);

            _contractor.Add(contractor);
        }
        public void AddOffer(int offerseqnr, Route route, int priceperhour, Contractor contractor, int routepriority, int contractorpriority)
        {
            Offer offer = new Offer(offerseqnr, route, priceperhour, contractor, routepriority, contractorpriority);

            _offer.Add(offer);
        }