C# Class CarbonFitnessTest.BusinessLogic.IngredientSetup

Show file Open project: yodiz/CarbonFitness Class Usage Examples

Public Methods

Method Description
GetNewIngredient ( string ingredientName, NutrientEntity nutrientEntity, decimal value, decimal weightInG ) : Ingredient
GetNewIngredient ( string ingredientName, string nutrientName, decimal value, decimal weightInG ) : Ingredient

Method Details

GetNewIngredient() public method

public GetNewIngredient ( string ingredientName, NutrientEntity nutrientEntity, decimal value, decimal weightInG ) : Ingredient
ingredientName string
nutrientEntity NutrientEntity
value decimal
weightInG decimal
return CarbonFitness.Data.Model.Ingredient

GetNewIngredient() public method

public GetNewIngredient ( string ingredientName, string nutrientName, decimal value, decimal weightInG ) : Ingredient
ingredientName string
nutrientName string
value decimal
weightInG decimal
return CarbonFitness.Data.Model.Ingredient