C# Class Kaffeplaneten.BLL.LoggingBLL

ファイルを表示 Open project: chrban/Webapplikasjoner Class Usage Examples

Public Methods

Method Description
LoggingBLL ( ) : System
LoggingBLL ( ALoggingDAL loggingDAL ) : System
createLog ( string type ) : bool
getDatabaseMessages ( ) : Newtonsoft.Json.Linq.JArray
getInteractionMessages ( ) : Newtonsoft.Json.Linq.JArray
logToDatabase ( Exception ex ) : bool
logToDatabase ( string action ) : bool
logToUser ( string action, CustomerModel model ) : bool
logToUser ( string action, EmployeeModel model ) : bool

Method Details

LoggingBLL() public method

public LoggingBLL ( ) : System
return System

LoggingBLL() public method

public LoggingBLL ( ALoggingDAL loggingDAL ) : System
loggingDAL Kaffeplaneten.DAL.ALoggingDAL
return System

createLog() public method

public createLog ( string type ) : bool
type string
return bool

getDatabaseMessages() public method

public getDatabaseMessages ( ) : Newtonsoft.Json.Linq.JArray
return Newtonsoft.Json.Linq.JArray

getInteractionMessages() public method

public getInteractionMessages ( ) : Newtonsoft.Json.Linq.JArray
return Newtonsoft.Json.Linq.JArray

logToDatabase() public method

public logToDatabase ( Exception ex ) : bool
ex System.Exception
return bool

logToDatabase() public method

public logToDatabase ( string action ) : bool
action string
return bool

logToUser() public method

public logToUser ( string action, CustomerModel model ) : bool
action string
model Kaffeplaneten.Models.CustomerModel
return bool

logToUser() public method

public logToUser ( string action, EmployeeModel model ) : bool
action string
model Kaffeplaneten.Models.EmployeeModel
return bool