C# Class Cats.Services.Hub.LedgerService

Inheritance: ILedgerService
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
AddLedger ( Ledger entity ) : bool
DeleteById ( int id ) : bool
DeleteLedger ( Ledger entity ) : bool
Dispose ( ) : void
EditLedger ( Ledger entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Ledger
GetAllLedger ( ) : List
LedgerService ( IUnitOfWork unitOfWork ) : System

Method Details

AddLedger() public method

public AddLedger ( Ledger entity ) : bool
entity Cats.Models.Hubs.Ledger
return bool

DeleteById() public method

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

DeleteLedger() public method

public DeleteLedger ( Ledger entity ) : bool
entity Cats.Models.Hubs.Ledger
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditLedger() public method

public EditLedger ( Ledger entity ) : bool
entity Cats.Models.Hubs.Ledger
return bool

FindBy() public method

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

FindById() public method

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

GetAllLedger() public method

public GetAllLedger ( ) : List
return List

LedgerService() public method

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