private void AddGradeButton_Click(object sender, EventArgs e) { try { repository.AddGrade(int.Parse(gradeValueTextBox.Text), workTitleTextBox.Text, Global.UserID, Global.SubjectID); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void AddGradeButton_Click(object sender, EventArgs e) { try { repository.AddGrade(int.Parse(gradeValueTextBox.Text), workTitleTextBox.Text, Global.UserID, Global.SubjectID); } catch (Exception ex) { MessageBox.Show(ex.Message); } }