C# Class People.Service.PersonService

Inheritance: IPersonService
ファイルを表示 Open project: jeremybytes/learning-dependency-injection

Public Methods

Method Description
AddPerson ( Person newPerson ) : void
DeletePerson ( string lastName ) : void
GetPeople ( ) : List
GetPerson ( string lastName ) : Person
UpdatePeople ( List updatedPeople ) : void
UpdatePerson ( string lastName, Person updatedPerson ) : void

Method Details

AddPerson() public method

public AddPerson ( Person newPerson ) : void
newPerson Common.Person
return void

DeletePerson() public method

public DeletePerson ( string lastName ) : void
lastName string
return void

GetPeople() public method

public GetPeople ( ) : List
return List

GetPerson() public method

public GetPerson ( string lastName ) : Person
lastName string
return Common.Person

UpdatePeople() public method

public UpdatePeople ( List updatedPeople ) : void
updatedPeople List
return void

UpdatePerson() public method

public UpdatePerson ( string lastName, Person updatedPerson ) : void
lastName string
updatedPerson Common.Person
return void