protected void add_movie(object sender, EventArgs e) { Movies mov = new Movies(); string movie = TextBox9.Text; string tags = TextBox10.Text; if (movie.Length != 0 && tags.Length != 0) { mov.addMovie(movie, tags); } TextBox10.Text = ""; TextBox9.Text = ""; }
public void addMovie(string movie, string tags) { Movies mov = new Movies(); mov.addMovie(movie, tags); }