public decimal GetTotalFinanceFlow() { decimal financeFlow = 0; var notes = _financeNoteRepository.GetAll(); foreach (var note in notes) { financeFlow += note.FinanceAmount; } return(financeFlow); }
public IEnumerable <FinanceNote> GetAllNotes() { return(_financeNoteRepository.GetAll()); }