private List<Category> all(Connection connection) { if(allCategories==null) { // We cache the categories allCategories = connection.SelectAllFromCategory(); } return allCategories; }