메소드 | 설명 | |
---|---|---|
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 |