C# Class Cats.Services.Hub.LedgerTypeService

Inheritance: ILedgerTypeService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddLedgerType ( LedgerType entity ) : bool
DeleteById ( int id ) : bool
DeleteLedgerType ( LedgerType entity ) : bool
Dispose ( ) : void
EditLedgerType ( LedgerType entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : LedgerType
GetAllLedgerType ( ) : List
LedgerTypeService ( IUnitOfWork unitOfWork ) : System

Method Details

AddLedgerType() public method

public AddLedgerType ( LedgerType entity ) : bool
entity Cats.Models.Hubs.LedgerType
return bool

DeleteById() public method

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

DeleteLedgerType() public method

public DeleteLedgerType ( LedgerType entity ) : bool
entity Cats.Models.Hubs.LedgerType
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditLedgerType() public method

public EditLedgerType ( LedgerType entity ) : bool
entity Cats.Models.Hubs.LedgerType
return bool

FindBy() public method

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

FindById() public method

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

GetAllLedgerType() public method

public GetAllLedgerType ( ) : List
return List

LedgerTypeService() public method

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