C# Class Kaffeplaneten.BLL.EmployeeBLL

Mostra file Open project: chrban/Webapplikasjoner Class Usage Examples

Public Methods

Method Description
EmployeeBLL ( ) : System
EmployeeBLL ( IEmployeeDAL iEmployeeDAL ) : System
add ( EmployeeModel employeeModel ) : bool
delete ( int id ) : System.Boolean
find ( int id ) : EmployeeModel
find ( string email ) : EmployeeModel
getAllEmployees ( ) : List

Method Details

EmployeeBLL() public method

public EmployeeBLL ( ) : System
return System

EmployeeBLL() public method

public EmployeeBLL ( IEmployeeDAL iEmployeeDAL ) : System
iEmployeeDAL IEmployeeDAL
return System

add() public method

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

delete() public method

public delete ( int id ) : System.Boolean
id int
return System.Boolean

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