示例#1
0
 public ActionResult <CTeacher> GetTeacher(int teacherId, int userId)
 {
     if (DbActions.ValidateRequest(Request))
     {
         return(DbActions.GetTeacher(teacherId, userId));
     }
     return(StatusCode(401));
 }