コード例 #1
0
        public async Task <int> UpdateUserState(string name, int state)
        {
            var user = await QueryUserByName(name);

            user.UserStateId = state;
            return(await _server.UpdateAsync(user));
        }