Method | Description | |
---|---|---|
AddCouponToDB ( |
||
AddNewDish ( Models Dish ) : int | ||
AddNewMenuPartModel ( Models MenuPart ) : int | ||
AddRestaurantBasicToDB ( |
||
AddRestaurantToDB ( Models restaurantmodel ) : string | ||
ApproveMeal ( IEnumerable |
||
BasicRestApproveMeal ( List |
||
CalculateDistanceInKm ( |
||
CalculateDistanceInRad ( |
||
DeleteCoupon ( string id ) : void | ||
GetAllCoupons ( ) : List |
||
GetAllIngredients ( ) : List |
||
GetChainRestaurantsBasicByName ( string name ) : List |
||
GetClosesMedal ( ) : |
||
GetCoupon ( |
||
GetCouponById ( string couponId ) : |
||
GetCouponModelById ( string couponId ) : |
||
GetDefaultItems ( System.Web.Security.MembershipUser currentUser, |
||
GetDishBasic ( int menuPartId, string restaurantId, int Id ) : |
||
GetGeneralDishById ( string dishId ) : |
||
GetIdByMenuPartName ( string restaurantId, string menuPartName ) : int | ||
GetIngredientById ( string id ) : |
||
GetIngredientByNDBNo ( int ndbNo ) : |
||
GetLastMedal ( ) : |
||
GetMedals ( ) : List |
||
GetMenuPartBasic ( int id, string RestaurantId ) : |
||
GetProductByLastCharsOfBarcode ( string barcode ) : Models.ProductCatalogViewModel | ||
GetRecipeByPartialName ( string partialName ) : Models.RecipeModel | ||
GetRestaurantBasicById ( string id ) : DataModel.RestaurantBasicData | ||
GetRestaurantBasicByIdFromBackup ( string id ) : |
||
GetRestaurantBasicByName ( string name ) : DataModel.RestaurantBasicData | ||
GetRestaurantById ( string id, string lang ) : Models.RestaurantModel | ||
GetRestaurantByName ( string name ) : Models.RestaurantModel | ||
GetTotalPoints ( ) : int | ||
GetUserLastMeal ( ) : |
||
GetUserLastMealViewModel ( ) : Models.MealViewModel | ||
IngredientSearch ( System.Web.Security.MembershipUser currentUser, |
||
MedalsNotificationCheck ( ) : bool | ||
MockedServicelayer ( ) : System | ||
SaveUserActivity ( |
||
Search ( System.Web.Security.MembershipUser currentUser, |
||
SearchGeneralDish ( System.Web.Security.MembershipUser currentUser, |
||
SearchNearest ( System.Web.Security.MembershipUser currentUser, |
||
TranslateDish ( string restId, int menuPartId, int dishId, string fromLang, string targetlang ) : Dish | ||
TranslateMenuPart ( MenuPart menuPart, string fromLang, string targetlang, bool withMenu ) : MenuPart | ||
TranslateMenuPart ( MenuPartModel menuPartModel, string fromLang, string targetlang, bool withMenu ) : MenuPart | ||
TranslateRestaurant ( string restId, string fromLang, string targetlang, bool withMenu ) : RestaurantBasicData | ||
TurnOffMedalFlag ( ) : bool | ||
UpdateCarbsInLastMeal ( string restaurnatId, int menuPartId, int dishId, double totalCarbohydrate ) : bool | ||
UpdateCompareResult ( RestaurantsCompareList compareList ) : void | ||
UpdateCoupon ( CouponType coupon ) : void | ||
UpdateCoupon ( CouponTypeModel couponModel ) : void | ||
UpdateDish ( Dish Dish, string restaurantId, int menuPartId ) : void | ||
UpdateDish ( Models Dish ) : void | ||
UpdateDishAndCarbs ( Models Dish ) : void | ||
UpdateDishCarbs ( System user, string restournatId, int menuPartId, int dishId, double totalCarbohydrate ) : bool | ||
UpdatePostMealSugar ( int sugarLevel ) : void | ||
UpdatePreMealSugar ( int sugarLevel, int targetSugar ) : void | ||
UpdateRestaurant ( Models restaurantmodel ) : void | ||
UploadImageToDish ( string restId, int menuPartId, int dishId, HttpPostedFileBase file ) : void | ||
UserLastMealCompleteRequirement ( ) : bool | ||
UserUpdateRestaurant ( Models restaurantmodel ) : void | ||
VerifyUserLastMeal ( ) : double |
Method | Description | |
---|---|---|
GetMockedSearchableItems ( ) : List |
||
SetUpEmptySearch ( Mock |
||
SetUpSearch ( Mock |
||
SetupGetDefaultItems ( Mock |
public AddCouponToDB ( |
||
coupon | ||
return | string |
public AddNewMenuPartModel ( Models MenuPart ) : int | ||
MenuPart | Models | |
return | int |
public AddRestaurantBasicToDB ( |
||
restaurant | ||
return | string |
public AddRestaurantToDB ( Models restaurantmodel ) : string | ||
restaurantmodel | Models | |
return | string |
public ApproveMeal ( IEnumerable |
||
meals | IEnumerable |
|
return | void |
public BasicRestApproveMeal ( List |
||
portions | List |
|
return | void |
public CalculateDistanceInKm ( |
||
location1 | ||
location2 | ||
return | double |
public CalculateDistanceInRad ( |
||
location1 | ||
location2 | ||
return | double |
public GetChainRestaurantsBasicByName ( string name ) : List |
||
name | string | |
return | List |
public GetClosesMedal ( ) : |
||
return |
public GetCoupon ( |
||
userData | ||
userActivity | ||
return |
public GetCouponById ( string couponId ) : |
||
couponId | string | |
return |
public GetCouponModelById ( string couponId ) : |
||
couponId | string | |
return |
public GetDefaultItems ( System.Web.Security.MembershipUser currentUser, |
||
currentUser | System.Web.Security.MembershipUser | |
userLocation | ||
return | IList |
public GetDishBasic ( int menuPartId, string restaurantId, int Id ) : |
||
menuPartId | int | |
restaurantId | string | |
Id | int | |
return |
public GetGeneralDishById ( string dishId ) : |
||
dishId | string | |
return |
public GetIdByMenuPartName ( string restaurantId, string menuPartName ) : int | ||
restaurantId | string | |
menuPartName | string | |
return | int |
public GetIngredientById ( string id ) : |
||
id | string | |
return |
public GetIngredientByNDBNo ( int ndbNo ) : |
||
ndbNo | int | |
return |
public GetLastMedal ( ) : |
||
return |
public GetMenuPartBasic ( int id, string RestaurantId ) : |
||
id | int | |
RestaurantId | string | |
return |
public GetProductByLastCharsOfBarcode ( string barcode ) : Models.ProductCatalogViewModel | ||
barcode | string | |
return | Models.ProductCatalogViewModel |
public GetRecipeByPartialName ( string partialName ) : Models.RecipeModel | ||
partialName | string | |
return | Models.RecipeModel |
public GetRestaurantBasicById ( string id ) : DataModel.RestaurantBasicData | ||
id | string | |
return | DataModel.RestaurantBasicData |
public GetRestaurantBasicByIdFromBackup ( string id ) : |
||
id | string | |
return |
public GetRestaurantBasicByName ( string name ) : DataModel.RestaurantBasicData | ||
name | string | |
return | DataModel.RestaurantBasicData |
public GetRestaurantById ( string id, string lang ) : Models.RestaurantModel | ||
id | string | |
lang | string | |
return | Models.RestaurantModel |
public GetRestaurantByName ( string name ) : Models.RestaurantModel | ||
name | string | |
return | Models.RestaurantModel |
public GetUserLastMealViewModel ( ) : Models.MealViewModel | ||
return | Models.MealViewModel |
public IngredientSearch ( System.Web.Security.MembershipUser currentUser, |
||
currentUser | System.Web.Security.MembershipUser | |
userLocation | ||
searchCount | int | |
searchText | string | |
return | List |
public SaveUserActivity ( |
||
userActivity | ||
return | void |
public Search ( System.Web.Security.MembershipUser currentUser, |
||
currentUser | System.Web.Security.MembershipUser | |
userLocation | ||
searchCount | int | |
searchText | string | |
maxDistance | double | |
return | IList |
public SearchGeneralDish ( System.Web.Security.MembershipUser currentUser, |
||
currentUser | System.Web.Security.MembershipUser | |
userLocation | ||
searchCount | int | |
searchText | string | |
return | List |
public SearchNearest ( System.Web.Security.MembershipUser currentUser, |
||
currentUser | System.Web.Security.MembershipUser | |
userLocation | ||
searchCount | int | |
maxDistance | double | |
return | IList |
public TranslateDish ( string restId, int menuPartId, int dishId, string fromLang, string targetlang ) : Dish | ||
restId | string | |
menuPartId | int | |
dishId | int | |
fromLang | string | |
targetlang | string | |
return | Dish |
public TranslateMenuPart ( MenuPart menuPart, string fromLang, string targetlang, bool withMenu ) : MenuPart | ||
menuPart | MenuPart | |
fromLang | string | |
targetlang | string | |
withMenu | bool | |
return | MenuPart |
public TranslateMenuPart ( MenuPartModel menuPartModel, string fromLang, string targetlang, bool withMenu ) : MenuPart | ||
menuPartModel | MenuPartModel | |
fromLang | string | |
targetlang | string | |
withMenu | bool | |
return | MenuPart |
public TranslateRestaurant ( string restId, string fromLang, string targetlang, bool withMenu ) : RestaurantBasicData | ||
restId | string | |
fromLang | string | |
targetlang | string | |
withMenu | bool | |
return | RestaurantBasicData |
public UpdateCarbsInLastMeal ( string restaurnatId, int menuPartId, int dishId, double totalCarbohydrate ) : bool | ||
restaurnatId | string | |
menuPartId | int | |
dishId | int | |
totalCarbohydrate | double | |
return | bool |
public UpdateCompareResult ( RestaurantsCompareList compareList ) : void | ||
compareList | RestaurantsCompareList | |
return | void |
public UpdateCoupon ( CouponType coupon ) : void | ||
coupon | CouponType | |
return | void |
public UpdateCoupon ( CouponTypeModel couponModel ) : void | ||
couponModel | CouponTypeModel | |
return | void |
public UpdateDish ( Dish Dish, string restaurantId, int menuPartId ) : void | ||
Dish | Dish | |
restaurantId | string | |
menuPartId | int | |
return | void |
public UpdateDishAndCarbs ( Models Dish ) : void | ||
Dish | Models | |
return | void |
public UpdateDishCarbs ( System user, string restournatId, int menuPartId, int dishId, double totalCarbohydrate ) : bool | ||
user | System | |
restournatId | string | |
menuPartId | int | |
dishId | int | |
totalCarbohydrate | double | |
return | bool |
public UpdatePostMealSugar ( int sugarLevel ) : void | ||
sugarLevel | int | |
return | void |
public UpdatePreMealSugar ( int sugarLevel, int targetSugar ) : void | ||
sugarLevel | int | |
targetSugar | int | |
return | void |
public UpdateRestaurant ( Models restaurantmodel ) : void | ||
restaurantmodel | Models | |
return | void |
public UploadImageToDish ( string restId, int menuPartId, int dishId, HttpPostedFileBase file ) : void | ||
restId | string | |
menuPartId | int | |
dishId | int | |
file | HttpPostedFileBase | |
return | void |
public UserLastMealCompleteRequirement ( ) : bool | ||
return | bool |
public UserUpdateRestaurant ( Models restaurantmodel ) : void | ||
restaurantmodel | Models | |
return | void |