public static void Update(Reservations reservation, object customer, int roomForReservation, DateTime checkInDate, DateTime checkOutDate)
 {
     reservation.Customer = customer;
     reservation.RoomForReservation = roomForReservation;
     reservation.CheckInDate = checkInDate;
     reservation.CheckOutDate = checkOutDate;
 }
 public static void Update(Reservations reservations, string customer, int room, DateTime checkInDate, DateTime checkOutDate)
 {
     reservations.Customer = customer;
     reservations.Room = room;
     reservations.CheckInDate = checkInDate;
     reservations.CheckOutDate = checkOutDate;
 }
        public static Reservations Create()
        {
            Reservations reservation = new Reservations();

            reservations.Add(reservation);

            return reservation;
        }
 private void buttonAddReservations_Click(object sender, RoutedEventArgs e)
 {
     Reservations reservation = new Reservations()
     {
         Customer = "Enter First and Last Name",
         RoomForReservation = "Enter Room Number",
         CheckInDate = DateTime.Now,
         CheckOutDate = DateTime.Now
     };
     ReserveRepository.Add(reservation);
 }
     public static Reservations Create(Customer cus, Rooms rm, DateTime ci, DateTime co, string note)
     {
         Reservations res = new Reservations();
         res.id = idCounter + 1;
         idCounter++;
         res.Customer = cus;
         res.Room = rm;
         res.CheckIn = ci;
         res.CheckOut = co;
         res.Notes = note;
         reservations.Add(res);
         return new Reservations();
 }
 public static void Add(Reservations reservation)
 {
     reservations.Add(reservation);
 }
 private void dataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     currentlySelectedRerservation = (Reservations)dataGridReservationManagement.SelectedItem;
 }
 public static void Delete(Reservations rm)
 {
     reservations.Remove(rm);
 }