Esempio n. 1
0
 private ActionResult <IEnumerable <Screen> > GetAllScreens()
 {
     try
     {
         return(Ok(db.GetAllScreens()));
     }
     catch (Exception ex)
     {
         return(InternalServerError($"Unable to process request.  Details: {ex.ToString()}"));
     }
 }