using System.Collections.Generic;
using SepehrHotelApiSampleClient.Booking.Book.WinForms.InMemoryDatabase.BookedPnrs.Model;

namespace SepehrHotelApiSampleClient.Booking.Book.WinForms.InMemoryDatabase.BookedPnrs.Repository
{
    public class BookedPnrRepository
    {
        private static List<BookedPnr> _bookedPnrs = new List<BookedPnr>();

        public static void Add(BookedPnr confirmedRequest)
        {
            _bookedPnrs.Add(confirmedRequest);
        }

        public static List<BookedPnr> GetAll()
        {
            return _bookedPnrs;
        }
    }
}
