C# Class Kaffeplaneten.BLL.UserBLL

Show file Open project: chrban/Webapplikasjoner Class Usage Examples

Public Methods

Method Description
UserBLL ( ) : System
UserBLL ( IUserDAL iUserDAL ) : System
add ( UserModel userModel ) : bool
get ( int id ) : UserModel
get ( string email ) : UserModel
randomPassord ( ) : string
sendMail ( string tilMail, string tilName, string tilSubject, string tilContent ) : bool
update ( UserModel userModel ) : bool
verifyUser ( UserModel userModel ) : bool

Method Details

UserBLL() public method

public UserBLL ( ) : System
return System

UserBLL() public method

public UserBLL ( IUserDAL iUserDAL ) : System
iUserDAL IUserDAL
return System

add() public method

public add ( UserModel userModel ) : bool
userModel Kaffeplaneten.Models.UserModel
return bool

get() public method

public get ( int id ) : UserModel
id int
return Kaffeplaneten.Models.UserModel

get() public method

public get ( string email ) : UserModel
email string
return Kaffeplaneten.Models.UserModel

randomPassord() public method

public randomPassord ( ) : string
return string

sendMail() public method

public sendMail ( string tilMail, string tilName, string tilSubject, string tilContent ) : bool
tilMail string
tilName string
tilSubject string
tilContent string
return bool

update() public method

public update ( UserModel userModel ) : bool
userModel Kaffeplaneten.Models.UserModel
return bool

verifyUser() public method

public verifyUser ( UserModel userModel ) : bool
userModel Kaffeplaneten.Models.UserModel
return bool