|
@@ -314,6 +314,10 @@ namespace GxPress.Repository.Implement
|
|
|
user.Name = request.Phone;
|
|
|
user.Phone = request.Phone;
|
|
|
user.Id = await InsertAsync(user);
|
|
|
+ result.UserId = user.Id;
|
|
|
+ result.DepartmentId = user.DepartmentId;
|
|
|
+ result.User = _mapper.Map<UserResult>(user);
|
|
|
+ return result;
|
|
|
}
|
|
|
}
|
|
|
else
|