Beispiel #1
0
        static void testSGShowJSON(SavingsGoal sg)
        {
            Console.WriteLine("\n\n-------------------- Test: Display JSON of SavingsGoal Object --------------------");

            // Print the JSON representation of the goal we created
            SavingsGoalService sgService = new SavingsGoalService();

            Console.WriteLine(sgService.getJSON(sg));
        }
Beispiel #2
0
 // Return the JSON representation of the list of SavingsGoals associated with the given Account
 public string getSavingsGoalsFromAccount(long accID)
 {
     return(SGService.getJSON(SGService.getSavingsGoalsFromAccount(accID)));
 }