static void testDisplaySubscription(long SID) { SubscriptionService subservice = new SubscriptionService(); Subscription s = subservice.getUsingID(SID); Console.WriteLine("\n Retrieving Subscription with SID {0} from the database....", SID); Console.WriteLine(subservice.getJSON(s)); Console.WriteLine("Displaying summary of Subscription with SID {0}....", SID); Console.WriteLine(s); }
// Return the JSON representation of the list of Subscriptions associated with the given Account public string getSubscriptionsFromAccount(long accID) { return(SubService.getJSON(SubService.getSubscriptionsFromAccount(accID))); }