Пример #1
0
        private void ButtonOKEndRental_Click(object sender, EventArgs e)
        {
            _rental.ReturnDateTime = DateTime.Now;
            _rentalController.SetEndRentalData(_rental);
            _rentalController.EndRental();
            _isInsertComplete = true;

            this.Close();
        }