Beispiel #1
0
        static void Main(string[] args)
        {
            HumaneSocietyDBDataContext humaneSocietyDB = new HumaneSocietyDBDataContext();
            //Animal animal = new Animal
            //{
            //    ActivityLevel = 5,
            //    Age = 5,
            //    AdoptionStatus = false,
            //    Breed = "EXAMPLE",
            //    Name = "EXAMPLE",
            //    Species = "EXAMPLE",
            //    VaccinationStatus = false,
            //    FoodType = "EXAMPLE",
            //    FoodQuantity = 5,
            //};

            //humaneSocietyDB.Animals.InsertOnSubmit(animal);
            //humaneSocietyDB.SubmitChanges();

            //var roomNumber = humaneSocietyDB.Rooms.Where(x => x.OccupiedStatus == false);

            //foreach (var x in roomNumber)
            //{
            //    Console.WriteLine(x.RoomNumber);
            //}

            HumaneSociety humaneSociety = new HumaneSociety();

            //humaneSociety.AddAnimal();
            //humaneSociety.RemoveAnimalFromRoom(5);
            //humaneSociety.SetAdoptionStatus(6,true);
            //humaneSociety.VaccinateAnimal(6);
            //humaneSociety.DisplayRooms();
            humaneSociety.Start();

            Console.ReadLine();
        }
Beispiel #2
0
 public CustomerUI(HumaneSociety humaneSociety)
 {
     this.humaneSociety = humaneSociety;
 }
Beispiel #3
0
 public EmployeeUI(HumaneSociety humaneSociety)
 {
     this.humaneSociety = humaneSociety;
 }