Пример #1
0
        public void UpdateLogoutStatus(string userId, ServiceType type)
        {
            if (String.IsNullOrEmpty(userId))
            {
                return;
            }
            HttpClient client    = WebApiServiceLogic.CreateClientWithoutToken(type);
            User       userModel = new User()
            {
                UserId   = userId,
                IsActive = false
            };

            client.PutAsJsonAsync("api/user/UpdateActiveStatus", userModel);
        }