C# Class RestBugs.Services.Model.StaticBugRepository

Inheritance: IBugRepository
Afficher le fichier Open project: howarddierking/RestBugs

Méthodes publiques

Méthode Description
Add ( Bug bug ) : void
Get ( int bugId ) : Bug
GetAll ( ) : IEnumerable

Private Methods

Méthode Description
GetNextId ( ) : int
StaticBugRepository ( ) : System.Collections.Generic

Method Details

Add() public méthode

public Add ( Bug bug ) : void
bug Bug
Résultat void

Get() public méthode

public Get ( int bugId ) : Bug
bugId int
Résultat Bug

GetAll() public méthode

public GetAll ( ) : IEnumerable
Résultat IEnumerable