public int InsertGenre(String GenreName) { MediaLogic mediaLogic = new MediaLogic(); return(mediaLogic.InsertGenre(GenreName)); }
private void btnAddGenre_Click(object sender, EventArgs e) { _mediaLogic.InsertGenre(txtGenreName.Text); dgvGenre.DataSource = _mediaLogic.ListGenres(); }