C# Class Nancy.Demo.NancyBlog.Data.Repositories.PostsRepository

Datei anzeigen Open project: Nosfheratu/NancyBlog Class Usage Examples

Public Methods

Method Description
Add ( dynamic post ) : dynamic
Find ( int id ) : dynamic
GetAll ( ) : List
Remove ( int id ) : void
Update ( dynamic post ) : dynamic

Method Details

Add() public method

public Add ( dynamic post ) : dynamic
post dynamic
return dynamic

Find() public method

public Find ( int id ) : dynamic
id int
return dynamic

GetAll() public method

public GetAll ( ) : List
return List

Remove() public method

public Remove ( int id ) : void
id int
return void

Update() public method

public Update ( dynamic post ) : dynamic
post dynamic
return dynamic