C# Class Investor.Common.Service.Investment.Logic.InvestmentLogic

Inheritance: IInvestmentLogic
Mostra file Open project: johnhinz/Investor

Public Methods

Method Description
Create ( InvestmentPoco investment ) : void
CreateInvestmentType ( InvestmentTypePoco investmenttype ) : void
Delete ( long id ) : void
DeleteInvestmentType ( long id ) : void
InvestmentLogic ( IInvestmentRepository repository ) : System
Read ( long id ) : InvestmentDto
ReadByMatureDate ( System.DateTime maturedate, int skip, int take ) : IEnumerable
ReadClient ( long id ) : IEnumerable
ReadInvestmentType ( long id ) : InvestmentTypePoco
Update ( long id, InvestmentPoco investment ) : bool
UpdateInvestmentType ( long id, InvestmentTypePoco investmenttype ) : bool

Method Details

Create() public method

public Create ( InvestmentPoco investment ) : void
investment Investor.Common.Shared.Pocos.InvestmentPoco
return void

CreateInvestmentType() public method

public CreateInvestmentType ( InvestmentTypePoco investmenttype ) : void
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
return void

Delete() public method

public Delete ( long id ) : void
id long
return void

DeleteInvestmentType() public method

public DeleteInvestmentType ( long id ) : void
id long
return void

InvestmentLogic() public method

public InvestmentLogic ( IInvestmentRepository repository ) : System
repository IInvestmentRepository
return System

Read() public method

public Read ( long id ) : InvestmentDto
id long
return Investor.Common.Shared.DataTransferObjects.InvestmentDto

ReadByMatureDate() public method

public ReadByMatureDate ( System.DateTime maturedate, int skip, int take ) : IEnumerable
maturedate System.DateTime
skip int
take int
return IEnumerable

ReadClient() public method

public ReadClient ( long id ) : IEnumerable
id long
return IEnumerable

ReadInvestmentType() public method

public ReadInvestmentType ( long id ) : InvestmentTypePoco
id long
return Investor.Common.Shared.Pocos.InvestmentTypePoco

Update() public method

public Update ( long id, InvestmentPoco investment ) : bool
id long
investment Investor.Common.Shared.Pocos.InvestmentPoco
return bool

UpdateInvestmentType() public method

public UpdateInvestmentType ( long id, InvestmentTypePoco investmenttype ) : bool
id long
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
return bool