Beispiel #1
0
        public ActionResult Get(int id)
        {
            Object  result  = StudentTable.getStudentForId(id);
            Student student = result as Student;

            if (null != student)
            {
                return(Ok(result));
            }
            else
            {
                return(NotFound(result));
            }
        }