C# Class Kaffeplaneten.BLL.CustomerBLL

Show file Open project: chrban/Webapplikasjoner Class Usage Examples

Public Methods

Method Description
CustomerBLL ( ) : System
CustomerBLL ( ICustomerDAL iCustomerDAL ) : System
add ( CustomerModel IncCustomer ) : bool
addAdress ( AdressModel adressModel ) : bool
addProvince ( AdressModel adress ) : bool
allCustomers ( ) : List
delete ( int id ) : bool
find ( int id ) : CustomerModel
find ( string email ) : CustomerModel
getProvince ( string zipCode ) : string
update ( CustomerModel customerModel ) : bool

Method Details

CustomerBLL() public method

public CustomerBLL ( ) : System
return System

CustomerBLL() public method

public CustomerBLL ( ICustomerDAL iCustomerDAL ) : System
iCustomerDAL ICustomerDAL
return System

add() public method

public add ( CustomerModel IncCustomer ) : bool
IncCustomer Kaffeplaneten.Models.CustomerModel
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

allCustomers() public method

public allCustomers ( ) : List
return List

delete() public method

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

find() public method

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

find() public method

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

getProvince() public method

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

update() public method

public update ( CustomerModel customerModel ) : bool
customerModel Kaffeplaneten.Models.CustomerModel
return bool