/// <summary> /// Calculates the sum of the selected account at the end of the month. /// This includes all payments coming until the end of month. /// </summary> /// <returns>Balance of the selected accont including all payments to come till end of month.</returns> protected override double GetEndOfMonthValue() { return(endOfMonthManager.GetEndOfMonthBalanceForAccount(accountRepository.FindById(accountId))); }