Exemple #1
0
        public ActionResult <GradeUsStandardAddViewModel> DeleteGradeUsStandard(GradeUsStandardAddViewModel gradeUsStandardAddViewModel)
        {
            GradeUsStandardAddViewModel gradeUsStandardDelete = new GradeUsStandardAddViewModel();

            try
            {
                gradeUsStandardDelete = _gradeService.DeleteGradeUsStandard(gradeUsStandardAddViewModel);
            }
            catch (Exception es)
            {
                gradeUsStandardDelete._failure = true;
                gradeUsStandardDelete._message = es.Message;
            }
            return(gradeUsStandardDelete);
        }