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()}")); } }
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()}")); } }