Méthode | Description | |
---|---|---|
AddDish ( |
||
AddDishReview ( string owner, int dish_id, int mark, string text ) : void | ||
Delete ( int id ) : void | ||
DeleteDishReview ( int id ) : void | ||
DishRepository ( |
||
EditDishReview ( int id_dishrevew, int mark, string text ) : void | ||
GetDishById ( int id ) : |
||
GetDishByTypeId ( int Id ) : IEnumerable |
||
GetDishByUserId ( string Id, int limit ) : IEnumerable |
||
GetDishCount ( ) : int | ||
GetDishList ( ) : IEnumerable |
||
GetDishList ( int page, int pageSize, int &count, string search = "", int CityId, string dishinput = "", bool canTeach = false, bool travel = false, int minPrice = -1, int maxPrice = -1 ) : IEnumerable |
||
GetDishOwner ( int Id_Dish ) : string | ||
GetDishReviewByDishId ( int id_dish ) : List |
||
GetDishReviewById ( int id ) : |
||
GetDishTypes ( ) : IEnumerable |
||
GetMaxPrice ( ) : int | ||
GetMinPrice ( ) : int | ||
UpdateDish ( |
Méthode | Description | |
---|---|---|
UpdateDishRating ( |
public AddDishReview ( string owner, int dish_id, int mark, string text ) : void | ||
owner | string | |
dish_id | int | |
mark | int | |
text | string | |
Résultat | void |
public DishRepository ( |
||
_context | ||
Résultat | System |
public EditDishReview ( int id_dishrevew, int mark, string text ) : void | ||
id_dishrevew | int | |
mark | int | |
text | string | |
Résultat | void |
public GetDishByTypeId ( int Id ) : IEnumerable |
||
Id | int | |
Résultat | IEnumerable |
public GetDishByUserId ( string Id, int limit ) : IEnumerable |
||
Id | string | |
limit | int | |
Résultat | IEnumerable |
public GetDishList ( int page, int pageSize, int &count, string search = "", int CityId, string dishinput = "", bool canTeach = false, bool travel = false, int minPrice = -1, int maxPrice = -1 ) : IEnumerable |
||
page | int | |
pageSize | int | |
count | int | |
search | string | |
CityId | int | |
dishinput | string | |
canTeach | bool | |
travel | bool | |
minPrice | int | |
maxPrice | int | |
Résultat | IEnumerable |
public GetDishOwner ( int Id_Dish ) : string | ||
Id_Dish | int | |
Résultat | string |
public GetDishReviewByDishId ( int id_dish ) : List |
||
id_dish | int | |
Résultat | List |
public GetDishReviewById ( int id ) : |
||
id | int | |
Résultat |
public UpdateDish ( |
||
model | ||
Résultat | void |