public void MakeContractLease(Truck v, CustomerBusiness c, DateTime dstart, DateTime dstop) { ContractLeasing Lease = new ContractLeasing(); Lease.Truck = v; Lease.Customer = c; Lease.RentStart = dstart; Lease.RentStop = dstop; //Implement foundation.saveContractLease with Contract lloloooloololollolololololololol }
public void RegisterBusinessCustomer(string address, string phone, int sen, string fax, string cper, string cnam) { CustomerBusiness CB = new CustomerBusiness(); CB.Address = address; CB.Phone = phone; CB.SENumber = sen; CB.Fax = fax; CB.ContactPerson = cper; CB.CompanyName = cnam; //save customer }