예제 #1
0
 public ActionResult <TestForProfessorDTO> GetTestForProffessor(int id)
 {
     try
     {
         return(Ok(_testsRepository.GetTestForProfessor(id)));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }