C# Class Kaffeplaneten.DAL.EmployeeDAL

Inheritance: IEmployeeDAL
Exibir arquivo Open project: chrban/Webapplikasjoner

Public Methods

Method Description
EmployeeDAL ( ) : System
add ( EmployeeModel employeeModel ) : bool
delete ( int id ) : bool
find ( int id ) : EmployeeModel
find ( string email ) : EmployeeModel
getAllEmployees ( ) : List

Method Details

EmployeeDAL() public method

public EmployeeDAL ( ) : System
return System

add() public method

public add ( EmployeeModel employeeModel ) : bool
employeeModel Kaffeplaneten.Models.EmployeeModel
return bool

delete() public method

public delete ( int id ) : bool
id int
return bool

find() public method

public find ( int id ) : EmployeeModel
id int
return Kaffeplaneten.Models.EmployeeModel

find() public method

public find ( string email ) : EmployeeModel
email string
return Kaffeplaneten.Models.EmployeeModel

getAllEmployees() public method

public getAllEmployees ( ) : List
return List