public IEnumerable <Recipe> GetRecipes() { try { return(recipeDataProvider.FindAllRecipes(connection.Value)); } catch (Exception exception) { throw new DataException(exception); } }
public IEnumerable <Recipe> GetRecipes() { return(recipeDataProvider.FindAllRecipes(this)); }