public Recipe FindRecipe(string name) { try { return(recipeDataProvider.FindRecipeByName(name, connection.Value)); } catch (Exception exception) { throw new RecipeNotFoundDataException(name, exception); } }
public Recipe FindRecipe(string name) { return(recipeDataProvider.FindRecipeByName(name, this)); }