private void ChangeGradeButton_Click(object sender, EventArgs e)
 {
     try
     {
         repository.ChangeGrade(Global.UserID, Global.WorkTitle, int.Parse(newValueTextBox.Text));
     }
     catch
     {
         throw new Exception("Grade was not changed");
     }
 }