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