Method | Description | |
---|---|---|
GetActivityLevel ( |
||
GetAge ( |
||
GetBMI ( |
||
GetBMR ( |
||
GetDailyCalorieNeed ( |
||
GetGender ( |
||
GetIdealWeight ( |
||
GetLength ( |
||
GetWeight ( |
||
SaveProfile ( |
||
UserProfileBusinessLogic ( IUserProfileRepository userProfileRepository, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic, ICalorieCalculator calorieCalculator ) : System |
Method | Description | |
---|---|---|
GetActivityLevelFromString ( string activityLevel ) : |
||
GetGenderTypeFromString ( string gender ) : |
||
GetUserProfile ( |
public GetActivityLevel ( |
||
user | ||
return |
public GetAge ( |
||
user | ||
return | int |
public GetBMI ( |
||
user | ||
return | decimal |
public GetBMR ( |
||
user | ||
return | decimal |
public GetDailyCalorieNeed ( |
||
user | ||
return | decimal |
public GetGender ( |
||
user | ||
return |
public GetIdealWeight ( |
||
user | ||
return | decimal |
public GetLength ( |
||
user | ||
return | decimal |
public GetWeight ( |
||
user | ||
return | decimal |
public SaveProfile ( |
||
user | ||
idealWeight | decimal | |
length | decimal | |
weight | decimal | |
age | int | |
genderName | string | |
activityLevelName | string | |
return | void |
public UserProfileBusinessLogic ( IUserProfileRepository userProfileRepository, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic, ICalorieCalculator calorieCalculator ) : System | ||
userProfileRepository | IUserProfileRepository | |
genderTypeBusinessLogic | IGenderTypeBusinessLogic | |
activityLevelTypeBusinessLogic | IActivityLevelTypeBusinessLogic | |
calorieCalculator | ICalorieCalculator | |
return | System |