Beispiel #1
0
 public IHttpActionResult CheckStudent([FromUri] string username)
 {
     if (CustomerSQLHandler.IsStudent(username))
     {
         return(Ok(JSONHandler.BuildMsgJSON(1, "True")));
     }
     else
     {
         return(Ok(JSONHandler.BuildMsgJSON(1, "False")));
     }
 }