C# Class DomainModel.Services.Mocks.PersonsRepository

Inheritance: IPersonsRepository
显示文件 Open project: Hill30/ResourceAllocation

Public Methods

Method Description
GetClient ( int id ) : Client
GetEmployee ( int id ) : Employee
GetPersonNotes ( int personId, PersonType personType, int count, int offset, ListSortDirection sortDirection ) : List
PersonsRepository ( ) : System
Search ( string searchPattern, int count, int offset, string sortBy, ListSortDirection sortDirection ) : List

Method Details

GetClient() public method

public GetClient ( int id ) : Client
id int
return Client

GetEmployee() public method

public GetEmployee ( int id ) : Employee
id int
return Employee

GetPersonNotes() public method

public GetPersonNotes ( int personId, PersonType personType, int count, int offset, ListSortDirection sortDirection ) : List
personId int
personType PersonType
count int
offset int
sortDirection ListSortDirection
return List

PersonsRepository() public method

public PersonsRepository ( ) : System
return System

Search() public method

public Search ( string searchPattern, int count, int offset, string sortBy, ListSortDirection sortDirection ) : List
searchPattern string
count int
offset int
sortBy string
sortDirection ListSortDirection
return List