コード例 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            UserManagementController userManagementController = new UserManagementController();
            User currentUser = new User();

            currentUser = userManagementController.GetLoggedInUser("5e6624de1c9d4400008a5134");

            lblCurrentFirstName.Text = currentUser.firstName;
            lblCurrentLastName.Text  = currentUser.lastName;
            lblCurrentEmail.Text     = currentUser.email;
            lblCurrentPhone.Text     = currentUser.phoneNumber.ToString();
        }