C# Class BudgetAnalyser.Engine.Services.BudgetPieGraphService

Inheritance: IBudgetPieGraphService
Mostra file Open project: Benrnz/BudgetAnalyser

Public Methods

Method Description
BudgetPieGraphService ( [ budgetBucketRepository ) : System

Initializes a new instance of the BudgetPieGraphService class.

PrepareExpenseGraphData ( [ budget ) : decimal>.IDictionary

Prepares the expense graph data.

PrepareIncomeGraphData ( [ budget ) : decimal>.IDictionary

Prepares the income graph data.

SurplusExpense ( [ model ) : Expense

A model Surplus expense object for the UI to bind to.

Method Details

BudgetPieGraphService() public method

Initializes a new instance of the BudgetPieGraphService class.
budgetBucketRepository
public BudgetPieGraphService ( [ budgetBucketRepository ) : System
budgetBucketRepository [ The budget bucket repository.
return System

PrepareExpenseGraphData() public method

Prepares the expense graph data.
public PrepareExpenseGraphData ( [ budget ) : decimal>.IDictionary
budget [
return decimal>.IDictionary

PrepareIncomeGraphData() public method

Prepares the income graph data.
public PrepareIncomeGraphData ( [ budget ) : decimal>.IDictionary
budget [
return decimal>.IDictionary

SurplusExpense() public method

A model Surplus expense object for the UI to bind to.
public SurplusExpense ( [ model ) : Expense
model [
return BudgetAnalyser.Engine.Budget.Expense