Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Get100DaysUserIngredients ( |
||
GetExistingIngredient ( string ingredientName ) : |
||
GetValueSumPerDateFromUserIngredients ( IEnumerable |
public AddUserIngredient ( |
||
user | ||
ingredientName | string | |
measure | int | |
dateTime | System.DateTime | |
Результат |
public DeleteUserIngredient ( |
||
user | ||
userIngredientId | int | |
date | System.DateTime | |
Результат | void |
public GetNutrientAverage ( IEnumerable |
||
nutrientEntities | IEnumerable |
|
user | ||
Результат | INutrientAverage |
public GetNutrientHistory ( NutrientEntity nutrientEntity, |
||
nutrientEntity | NutrientEntity | |
user | ||
Результат | ILine |
public GetNutrientSumForDate ( |
||
user | ||
entity | NutrientEntity | |
date | System.DateTime | |
Результат | decimal |
public GetNutrientSumList ( IEnumerable |
||
nutrients | IEnumerable |
|
user | ||
Результат | IEnumerable |
public GetUserIngredients ( |
||
user | ||
dateTime | System.DateTime | |
Результат | CarbonFitness.Data.Model.UserIngredient[] |
public UserIngredientBusinessLogic ( IUserIngredientRepository userIngredientRepository, IIngredientRepository ingredientRepository, INutrientRepository nutrientRepository ) : System | ||
userIngredientRepository | IUserIngredientRepository | |
ingredientRepository | IIngredientRepository | |
nutrientRepository | INutrientRepository | |
Результат | System |
public getDatesfromuserIngredient ( |
||
userIngredients | ||
Результат | IEnumerable |
public getNutrientIngredientSumForDate ( System.DateTime date, IEnumerable |
||
date | System.DateTime | |
userIngredients | IEnumerable |
|
valueToSum | decimal>.Func | |
Результат | decimal |