Beispiel #1
0
        public void EnterShelterData(int id, string shelterName, int capacity, string restrictions, float longitude, float latitude, string address, string phoneNumber)
        {
            ShelterInfoService service = new ShelterInfoService();

            service.EnterShelterData(id, shelterName, capacity, restrictions, longitude, latitude, address, phoneNumber);
        }
Beispiel #2
0
        public List <string> getShelterNames()
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getShelterNames());
        }
Beispiel #3
0
        public int getCapacity(string shelterName)
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getCapacity(shelterName));
        }
Beispiel #4
0
        public int getLastID()
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getLastID());
        }
Beispiel #5
0
        public List <ShelterInfo> getShelterInformationByRestrictions(string genderOrAgeRange)
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getFilteredSheltersByRestrictions(genderOrAgeRange));
        }
Beispiel #6
0
        public List <ShelterInfo> getShelterInformation()
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getShelterInformation());
        }
Beispiel #7
0
        public ShelterInfo getShelterInformation(string shelterName)
        {
            ShelterInfoService service = new ShelterInfoService();

            return(service.getShelterInformation(shelterName));
        }
Beispiel #8
0
        public void increaseCapacity(int idIn, string shelterNameIn, int capacityIn, string restrictionsIn, float longitudeIn, float latitudeIn, string addressIn, string phoneNumberIn)
        {
            ShelterInfoService service = new ShelterInfoService();

            service.increaseCapacity(idIn, shelterNameIn, capacityIn, restrictionsIn, longitudeIn, latitudeIn, addressIn, phoneNumberIn);
        }