public void DataRepositoryRentEventTest()
        {
            repository.AddBook(new Data.Book(6, "Michal Ksiaze", "Saint-Exupery", 120, Data.BookGenre.Childrens, date_1));
            repository.AddClient(new Data.Client(6, "Bartosz", "Wlodarski", 20));
            repository.RentEvent(1, new Data.Client(6, "Bartosz", "Wlodarski", 20), new DateTime(2018, 10, 20), new Data.Book(6, "Michal Ksiaze", "Saint-Exupery", 120, Data.BookGenre.Childrens, date_1));

            Assert.IsFalse(repository.CheckAvaiability(new Data.Book(6, "Michal Ksiaze", "Saint-Exupery", 120, Data.BookGenre.Childrens, date_1)));
        }
 public void RentEvent(int id, Data.Client client, DateTime date, Data.Book book)
 {
     repository.RentEvent(id, client, date, book);
 }