Ejemplo n.º 1
0
        public object Remove(int id)
        {
            bool success = _parkingLotService.Remove(id);

            if (success)
            {
                return(new ResponseDetails(true, $"Parking lot with Id : { id } Removed."));
            }

            return(new ResponseDetails(false, $"Parking lot with Id : { id } not found."));
        }