예제 #1
0
        public ActionResult Get()
        {
            Object result = StudentTable.getStudents();

            if (result.GetType() == typeof(List <Student>))
            {
                return(Ok(result));
            }
            else
            {
                return(NotFound(result));
            }
        }