C# Class Cats.Services.Hub.ErrorLogService

Inheritance: IErrorLogService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddErrorLog ( ErrorLog errorLog ) : bool
DeleteById ( int id ) : bool
DeleteErrorLog ( ErrorLog errorLog ) : bool
Dispose ( ) : void
EditErrorLog ( ErrorLog errorLog ) : bool
ErrorLogService ( IUnitOfWork unitOfWork ) : System
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : ErrorLog
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllErrorLog ( ) : List

Method Details

AddErrorLog() public method

public AddErrorLog ( ErrorLog errorLog ) : bool
errorLog Cats.Models.Hubs.ErrorLog
return bool

DeleteById() public method

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

DeleteErrorLog() public method

public DeleteErrorLog ( ErrorLog errorLog ) : bool
errorLog Cats.Models.Hubs.ErrorLog
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditErrorLog() public method

public EditErrorLog ( ErrorLog errorLog ) : bool
errorLog Cats.Models.Hubs.ErrorLog
return bool

ErrorLogService() public method

public ErrorLogService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : ErrorLog
id int
return Cats.Models.Hubs.ErrorLog

Get() public method

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.Expression
orderBy Func
includeProperties string
return IEnumerable

GetAllErrorLog() public method

public GetAllErrorLog ( ) : List
return List