public AddCustomer(string firstname, string lastname, short age, string address) { customer = new Customers(); customer.FIRSTNAME = firstname.ToUpper(); customer.LASTNAME = lastname.ToUpper(); customer.AGE = age; customer.ADDRESS = address.ToUpper(); }
public AddAnimalSold(int animalID, AddCustomer customer) { _id = animalID; customer.executeBusinessLogic(); _customer = customer.getCustomer(); animalsold = new AnimalSolds(); animalsold.OWNER_ID = _customer.ID; animalsold.ANIMAL_ID = animalID; }