public void addMovie(int id, String movietitle) { RentInfo newmovie = new RentInfo() { movieID = id, movieTitle = movietitle }; if (id <= 0 || movietitle == "") { MessageBox.Show("ID and movie title are required"); } else { RentalInfoModel.AddMovie(newmovie); } }
internal void returnMovie(RentMovie rentMovie) { RentalInfoModel.returnMovie(rentMovie); }