public IEnumerable <Models.CocktailModel> GetExistingCocktailsWithParticularAmountOfAlcohol(double percentageOfAlcohol) { CocktailBusiness business = new CocktailBusiness(); var lista = business.GetCocktailWithParticuarAmountouOfAlcohol(percentageOfAlcohol); return(lista); }
public IEnumerable <Models.CocktailModel> GetNewGeneratedCocktail(int numberOfIngridients = 0, double finalPercentageOfAlcohol = 0, string drinkName = "") { CocktailBusiness business = new CocktailBusiness(); var lista = business.GetNewGeneratedCocktail(numberOfIngridients, finalPercentageOfAlcohol, drinkName); business.InsertNewGeneratedCocktail(lista); return(lista); }