Example #1
0
 public IHttpActionResult Get()
 {
     try
     {
         return(Ok(Lesson.Get()));
     }
     catch (Exception e)
     {
         LogManager.LogException(e);
         return(InternalServerError(e));
     }
 }