public async Task CreateUserAsync(UserModel user) { var userEntity = new UserEntity { Id = Guid.NewGuid(), Name = user.Name, LastName = user.LastName, Patronymic = user.Patronymic, IsDeleted = false }; var userInformation = await _informationService.CreateUserInformationAsync(userEntity.Id, user.UserInformation); userEntity.UserInformation = userInformation; await _userRepository.CreateAsync(userEntity); await _userRepository.SaveAsync(); }