//Rent
        public bool RentStart(int customerId, int carId)
        {
            var customer = repo.GetCustomer(customerId);

            if (customer == null)
            {
                throw new ApplicationException("Customer doesn't exist!");
            }

            var car = repo.GetCar(carId);

            if (car == null)
            {
                throw new ApplicationException("Car doesn't exist!");
            }

            return(repo.RentStart(customerId, carId));
        }
 public Car GetCar(int carId)
 {
     return(repo.GetCar(carId));
 }