Esempio n. 1
0
 /// <summary>
 /// 删除用户
 /// </summary>
 public async Task DeleteUser(string ids)
 {
     await WebClientResultHelper.PostAsync($"{UrlProvider.UserServiceUrl}/api/user/delete", ids);
 }
Esempio n. 2
0
        /// <summary>
        /// 创建用户
        /// </summary>
        public async Task <Guid> CraeteUser(CreateUserRequest request)
        {
            string id = await WebClientResultHelper.PostAsync($"{UrlProvider.UserServiceUrl}/api/user", request);

            return(id.ToGuid());
        }