Beispiel #1
0
 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();
 }
Beispiel #2
0
        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;
        }