C# Class ActivityLog.Models.Storage.PersonRepository

Inheritance: IPersonRepository
Show file Open project: marcusoftnet/ProgressiveNetDemos

Public Methods

Method Description
Delete ( int id ) : void
GetAllPeople ( ) : IEnumerable
GetById ( int id ) : Person
InsertOrUpdate ( Person person ) : void
Save ( ) : void

Method Details

Delete() public method

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

GetAllPeople() public method

public GetAllPeople ( ) : IEnumerable
return IEnumerable

GetById() public method

public GetById ( int id ) : Person
id int
return Person

InsertOrUpdate() public method

public InsertOrUpdate ( Person person ) : void
person Person
return void

Save() public method

public Save ( ) : void
return void