예제 #1
0
 private ActionResult <IEnumerable <Screen> > FindScreens(string searchTerm)
 {
     try
     {
         return(Ok(db.FindScreens(searchTerm)));
     }
     catch (Exception ex)
     {
         return(InternalServerError($"Unable to process request.  Details: {ex.ToString()}"));
     }
 }