Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     user            = GetJson <CurrentUserRS>(null, ConfigurationManager.AppSettings["current_user"]);
     messages        = GetJson <GetMessagesRS>(null, ConfigurationManager.AppSettings["messages"]);
     getCircleOfCare = GetJson <GetCircleOfCareRS>(null, ConfigurationManager.AppSettings["circle"]);
     point           = GetJson <UserPointsRS>(null, ConfigurationManager.AppSettings["points"]);
     reminder        = GetJson <ReminderRS>(null, ConfigurationManager.AppSettings["reminders"]);
 }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            messages = GetJson <MessageRS>(new UserRQ {
                Id = 3
            }, ConfigurationManager.AppSettings["messages"]);

            reminders = GetJson <ReminderRS>(new UserRQ {
                Id = 3
            }, ConfigurationManager.AppSettings["reminders"]);

            followers = GetJson <FollowRS>(new UserRQ {
                Id = 3
            }, ConfigurationManager.AppSettings["followers"]);
        }