コード例 #1
0
        public IActionResult DeleteStudents(StudentRequest request)
        {
            var res = _service.DeleteStudents(request);

            if (res != null)
            {
                return(BadRequest("400 Bad Request Error!"));
            }
            return(Ok("A student has been deleted"));
        }