Ejemplo n.º 1
0
        public bool GetPlaceValidity(int parkingID)
        {
            _ParkingPlaceRepository = new Repository.ParkingPlaceRepository();
            bool result;

            result = _ParkingPlaceRepository.GetPlaceValidility(parkingID);
            return(result);
        }
Ejemplo n.º 2
0
        public bool SetPark(int parkID, int userID)
        {
            _ParkingPlaceRepository = new Repository.ParkingPlaceRepository();
            bool result;

            result = _ParkingPlaceRepository.SetPark(parkID, userID);
            return(result);
        }
Ejemplo n.º 3
0
        public List <Model.ParkingPlace> GetPlaces(int x, int y)
        {
            List <Model.ParkingPlace> Places = new List <Model.ParkingPlace>();

            _ParkingPlaceRepository = new Repository.ParkingPlaceRepository();
            Places = _ParkingPlaceRepository.GetPlaces(x, y);
            return(Places);
        }