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
teamcanada
Tests
Models
InMemoryContributionRepository
GetContributionByID
teamcanada.Tests.Models.InMemoryContributionRepository.GetContributionByID C# (CSharp) Method
InMemoryContributionRepository Class Documentation
显示文件
Open project: darraghb1980/EF-Group-Project
GetContributionByID()
public
method
public
GetContributionByID
(
int
id
) :
Contributions
id
int
return
teamcanada.Models.Contributions
public Contributions GetContributionByID(int id) { return _db.FirstOrDefault(d => d.id == id); }
InMemoryContributionRepository
Add
CreateNewContribution
DeleteContribution
GetAllContributions
GetContributionByID
SaveChanges