Exemple #1
0
 public IActionResult GetStudentEnrollments(string id)
 {
     try
     {
         return(Ok(_dbService.GetStudentEnrollments(id)));
     }
     catch (Exception e)
     {
         return(BadRequest("Exception: " + e.Message + "\n" + e.StackTrace));
     }
 }