C# Class RestBugs.Services.Model.StaticBugRepository

Inheritance: IBugRepository
显示文件 Open project: howarddierking/RestBugs

Public Methods

Method Description
Add ( Bug bug ) : void
Get ( int bugId ) : Bug
GetAll ( ) : IEnumerable

Private Methods

Method Description
GetNextId ( ) : int
StaticBugRepository ( ) : System.Collections.Generic

Method Details

Add() public method

public Add ( Bug bug ) : void
bug Bug
return void

Get() public method

public Get ( int bugId ) : Bug
bugId int
return Bug

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable