C# Class MvcLibrary.Models.BookRepository

Inheritance: IBookRepository
Show file Open project: niksoper/aspnet5-books

Public Methods

Method Description
Add ( Book book ) : void
BookRepository ( ) : System.Collections.Concurrent
Find ( string id ) : Book
GetAll ( ) : IEnumerable
Remove ( string id ) : Book
Update ( Book book ) : void

Method Details

Add() public method

public Add ( Book book ) : void
book Book
return void

BookRepository() public method

public BookRepository ( ) : System.Collections.Concurrent
return System.Collections.Concurrent

Find() public method

public Find ( string id ) : Book
id string
return Book

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

Remove() public method

public Remove ( string id ) : Book
id string
return Book

Update() public method

public Update ( Book book ) : void
book Book
return void