/// <summary> /// Deletes a booking from the database /// </summary> /// <param name="cus"></param> /// <param name="esr"></param> /// <param name="date"></param> /// <param name="emp"></param> /// <param name="aop"></param> /// <param name="bookTime"></param> public void Delete(Customer cus, EscapeRoom esr, DateTime date, Employee emp, int aop, TimeSpan bookTime) { Booking book = new Booking() { Cus = cus, Er = esr, Date = date, Emp = emp, AmountOfPeople = aop, BookingTime = bookTime }; BOOKS.Delete(book); }