C# Class OrchardHUN.TrainingDemo.Services.PersonManager

Inheritance: IPersonManager
Show file Open project: Lombiq/Orchard-Training-Demo-Module

Public Methods

Method Description
GetPersons ( ) : IEnumerable
GetPersons ( Sex sex, int maxCount ) : IEnumerable
PersonManager ( IRepository personRepository, IEnumerable filters ) : System
SavePerson ( string name, Sex sex, System.DateTime birthDateUtc, string biography ) : void

Method Details

GetPersons() public method

public GetPersons ( ) : IEnumerable
return IEnumerable

GetPersons() public method

public GetPersons ( Sex sex, int maxCount ) : IEnumerable
sex Sex
maxCount int
return IEnumerable

PersonManager() public method

public PersonManager ( IRepository personRepository, IEnumerable filters ) : System
personRepository IRepository
filters IEnumerable
return System

SavePerson() public method

public SavePerson ( string name, Sex sex, System.DateTime birthDateUtc, string biography ) : void
name string
sex Sex
birthDateUtc System.DateTime
biography string
return void