public Car GetCar(int id)
        {
            var car = RentalOperations.GetCar(id);

            if (car == null)
            {
                throw new FaultException("No car is found");
            }
            return(car);
        }
Exemple #2
0
        public Car GetCar(int id)
        {
            var car = RentalOperations.GetCar(id);

            return(car);
        }