public void AddRental() { var rentalController = new RentalController(); var newForm = FormsFactory.CreateAddNewRentalView(MemberRepository.GetAllMembers(), BoardGameRepository.GetAllAvailableBoardGames()); rentalController.AddNewRental(newForm, RentalRepository, BoardGameRepository); }