Exemple #1
0
        public IActionResult InsertStudent(Student student)
        {
            var toReturn = _service.InsertStudent(student);

            if (toReturn == null)
            {
                return(BadRequest());
            }
            return(Ok(toReturn));
        }