C# Class NancyMongo.Web.PersonRepository

Datei anzeigen Open project: henryoswald/MongoNancyMono

Public Methods

Method Description
Delete ( string id ) : void
FindPerson ( string id ) : Person
PersonRepository ( ) : MongoDB.Bson
Save ( Person person ) : Person
Update ( string id, Person updatedProperties ) : void

Method Details

Delete() public method

public Delete ( string id ) : void
id string
return void

FindPerson() public method

public FindPerson ( string id ) : Person
id string
return Person

PersonRepository() public method

public PersonRepository ( ) : MongoDB.Bson
return MongoDB.Bson

Save() public method

public Save ( Person person ) : Person
person Person
return Person

Update() public method

public Update ( string id, Person updatedProperties ) : void
id string
updatedProperties Person
return void