コード例 #1
0
        public ActionResult <GradeScaleAddViewModel> DeleteGradeScale(GradeScaleAddViewModel gradeScaleAddViewModel)
        {
            GradeScaleAddViewModel gradeScaleDelete = new GradeScaleAddViewModel();

            try
            {
                gradeScaleDelete = _gradeService.DeleteGradeScale(gradeScaleAddViewModel);
            }
            catch (Exception es)
            {
                gradeScaleDelete._failure = true;
                gradeScaleDelete._message = es.Message;
            }
            return(gradeScaleDelete);
        }