Esempio n. 1
0
 public IHttpActionResult GET(int id = -1)
 {
     if (id == -1)
     {
         return(Ok(_adapter.GetAllQuestions()));
     }
     else
     {
         return(Ok(_adapter.GetQuestion(id)));
     }
 }