Méthode | Description | |
---|---|---|
AddUserIngredient ( |
||
DeleteUserIngredient ( |
||
GetNutrientAverage ( IEnumerable |
||
GetNutrientHistory ( NutrientEntity nutrientEntity, |
||
GetNutrientSumForDate ( |
||
GetNutrientSumList ( IEnumerable |
||
GetUserIngredients ( |
||
UserIngredientBusinessLogic ( IUserIngredientRepository userIngredientRepository, IIngredientRepository ingredientRepository, INutrientRepository nutrientRepository ) : System | ||
getDatesfromuserIngredient ( |
||
getNutrientIngredientSumForDate ( System.DateTime date, IEnumerable |
Méthode | Description | |
---|---|---|
Get100DaysUserIngredients ( |
||
GetExistingIngredient ( string ingredientName ) : |
||
GetValueSumPerDateFromUserIngredients ( IEnumerable |
public AddUserIngredient ( |
||
user | ||
ingredientName | string | |
measure | int | |
dateTime | System.DateTime | |
Résultat |
public DeleteUserIngredient ( |
||
user | ||
userIngredientId | int | |
date | System.DateTime | |
Résultat | void |
public GetNutrientAverage ( IEnumerable |
||
nutrientEntities | IEnumerable |
|
user | ||
Résultat | INutrientAverage |
public GetNutrientHistory ( NutrientEntity nutrientEntity, |
||
nutrientEntity | NutrientEntity | |
user | ||
Résultat | ILine |
public GetNutrientSumForDate ( |
||
user | ||
entity | NutrientEntity | |
date | System.DateTime | |
Résultat | decimal |
public GetNutrientSumList ( IEnumerable |
||
nutrients | IEnumerable |
|
user | ||
Résultat | IEnumerable |
public GetUserIngredients ( |
||
user | ||
dateTime | System.DateTime | |
Résultat | CarbonFitness.Data.Model.UserIngredient[] |
public UserIngredientBusinessLogic ( IUserIngredientRepository userIngredientRepository, IIngredientRepository ingredientRepository, INutrientRepository nutrientRepository ) : System | ||
userIngredientRepository | IUserIngredientRepository | |
ingredientRepository | IIngredientRepository | |
nutrientRepository | INutrientRepository | |
Résultat | System |
public getDatesfromuserIngredient ( |
||
userIngredients | ||
Résultat | IEnumerable |
public getNutrientIngredientSumForDate ( System.DateTime date, IEnumerable |
||
date | System.DateTime | |
userIngredients | IEnumerable |
|
valueToSum | decimal>.Func | |
Résultat | decimal |