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