Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ProductRepositoryMock
C# Class ProductRepositoryMock, code
Inheritance:
IRepository
Datei anzeigen
Open project: shendongnian/code
Class Usage Examples
Public Methods
Method
Description
Add
(
product
) :
void
Get
(
int
id
) :
Product
GetAll
( ) :
IEnumerable
ProductRepositoryMock
( )
Update
(
product
) :
void
Private Methods
Method
Description
GetNewId
( ) :
int
Method Details
Add()
public
method
public
Add
(
product
) :
void
return
void
Get()
public
method
public
Get
(
int
id
) :
Product
id
int
return
Product
GetAll()
public
method
public
GetAll
( ) :
IEnumerable
return
IEnumerable
ProductRepositoryMock()
public
method
public
ProductRepositoryMock
( )
Update()
public
method
public
Update
(
product
) :
void
return
void