public bool AddNewRent()
        {
            bool success = false;

            Client client = Client.AddNewClient(rentCarView.ClientName, rentCarView.ClientSurname, rentCarView.LicenseNumber);
            Car    car    = Car.GetCarByLicensePlateNum(rentCarView.LicensePlateNumber);

            Rent rent = new Rent(client, car, rentCarView.DateStart, rentCarView.DateEnd, rentCarView.TotalCost);

            if (rent.CreateNewRent())
            {
                car.SetStatusAsRent(car);
                success = true;
            }

            return(success);
        }