private async void OKButton_Click(object sender, RoutedEventArgs e)
        {
            ServiceUtils context = new ServiceUtils();
            await context.AddGrade(_grade.Record);

            this.DialogResult = true;
        }
Exemple #2
0
        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            ServiceUtils utils = new ServiceUtils();

            utils.AddGrade(_grade.Record);
            this.DialogResult = true;
        }