Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
BistroDriveWebApp
Models
DishRepository
GetDishById
BistroDriveWebApp.Models.DishRepository.GetDishById C# (CSharp) Method
DishRepository Class Documentation
显示文件
Open project: PI-13-5/BistroDriveWebApp
GetDishById()
public
method
public
GetDishById
(
int
id
) :
dish
id
int
return
dish
public dish GetDishById(int id) { return context.dishes.FirstOrDefault(d => d.Id_Dish == id); }
DishRepository
AddDish
AddDishReview
Delete
DeleteDishReview
DishRepository
EditDishReview
GetDishById
GetDishByTypeId
GetDishByUserId
GetDishCount
GetDishList
GetDishOwner
GetDishReviewByDishId
GetDishReviewById
GetDishTypes
GetMaxPrice
GetMinPrice
UpdateDish
UpdateDishRating