C# Класс openTill.Persistence.EmployeeRepository

A class that actually performs the CRUD operations for an Employee.
Наследование: IEmployeeRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
GetAll ( ) : IEnumerable

Returns all employees.

ValidateUser ( string userName, string password ) : bool

Validates an employee by confirming that the given password matches the password associated with the given username.

Описание методов

GetAll() публичный Метод

Returns all employees.
public GetAll ( ) : IEnumerable
Результат IEnumerable

ValidateUser() публичный Метод

Validates an employee by confirming that the given password matches the password associated with the given username.
public ValidateUser ( string userName, string password ) : bool
userName string String username
password string String password
Результат bool