예제 #1
0
        public IActionResult OnPostDelete(string delCode)
        {
            ResultNormal result = new ResultNormal();

            try
            {
                _CourseSrv.Delete(delCode);
            }
            catch (Exception ex)
            {
                result.ErrorMsg = ex.Message;
            }

            return(new JsonResult(result));
        }