public void GetRecipe() { SqlRecipeManager srm = new SqlRecipeManager(); string expectedRecipe = "GETRECIPIE"; srm.AddRecipe("testUser", expectedRecipe, "This is the steps to make RECIPIE!"); Recipe found = srm.GetRecipe(expectedRecipe); Assert.AreEqual(expectedRecipe, found.Name); }
public Common.Recipe GetRecipe(string name) { SqlRecipeManager srm = new SqlRecipeManager(); return srm.GetRecipe(name); }