Exemplo n.º 1
0
        public void AddAnimal(string searchType)
        {
            string animalName       = ui.GetAnimalName();
            string gender           = ui.GetGender();
            string age              = ui.GetAge();
            string shots            = ui.GetShots();
            string size             = ui.GetSize();
            string food             = ui.GetFood();
            string room             = ui.GetRoom();
            string adopted          = ui.GetAdopted();
            string personalityColor = ui.GetPersonalityColor();

            DisplayInput(animalName, age, gender, size, room, personalityColor, shots, food, adopted);
        }
Exemplo n.º 2
0
        public void AddAnimal()
        {
            Animal newAnimal;

            newAnimal              = userInput.GetAnimalType();
            newAnimal.Name         = userInput.GetAnimalName();
            newAnimal.CageNumber   = userInput.GetAnimalCageNumber();
            newAnimal.HasShots     = userInput.GetAnimalHasShots();
            newAnimal.PriceToAdopt = userInput.GetAnimalPriceToAdopt();
            newAnimal.AmountOfFood = userInput.GetAnimalFoodAmount();
        }
Exemplo n.º 3
0
        public void AdopterNewProfile()
        {
            //These push to the SQL Database for user

            Console.Clear();
            Console.WriteLine("Welcome new user. Let's set up your new profile!");
            string userName = ui.GetAnimalName();
            string userAge = ui.GetAge();
            string userGender = ui.GetGender();
            string userEmail = ui.GetEmail();
            string userPhone = ui.GetPhone();
            string userProfile = ui.GetProfile();
            DisplayInput(userProfile, userName, userAge, userGender, userEmail, userProfile);
        }