示例#1
0
        public IActionResult CheckExist(string name)
        {
            var result = _courseRepository.CheckName(name);

            return(Json(new
            {
                result = !result
            }));
        }