Example #1
0
 public IActionResult Destroy(int id)
 {
     try {
         var deletedLesson = _lessonService.Destroy(id);
         return(Ok(deletedLesson));
     } catch (Exception) {
         return(NotFound());
     }
 }