C# Class Kaffeplaneten.Stubs.EmployeeDALStub

Inheritance: IEmployeeDAL
显示文件 Open project: chrban/Webapplikasjoner

Public Methods

Method Description
add ( EmployeeModel employeeModel ) : bool
addAdress ( AdressModel adressModel ) : bool
addProvince ( AdressModel adress ) : bool
delete ( int id ) : bool
find ( int id ) : EmployeeModel
find ( string email ) : EmployeeModel
getAllEmployees ( ) : List
getProvince ( string zipCode ) : string

Method Details

add() public method

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

addAdress() public method

public addAdress ( AdressModel adressModel ) : bool
adressModel Kaffeplaneten.Models.AdressModel
return bool

addProvince() public method

public addProvince ( AdressModel adress ) : bool
adress Kaffeplaneten.Models.AdressModel
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

getProvince() public method

public getProvince ( string zipCode ) : string
zipCode string
return string